Skip to content

Commit fc7de75

Browse files
authored
Merge pull request #724 from github/translation-doc-update
Update translation instructions
2 parents 533afd2 + 2c59794 commit fc7de75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: docs/translations.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ If there's not, then today is your day to lead this effort! Here's how to start:
1111
1. [Fork this repository](https://github.com/github/opensource.guide/fork)
1212
1. Create a new branch for your translation work e.g. `es`.
1313
1. Copy `_data/locales/en.yml` to your target language file e.g. `_data/locales/es.yml` and translate all the strings.
14-
1. Copy `index.html` to your target language index file e.g. `es.html` and update the `lang:`.
15-
1. Create a new directory in `_articles/` for your language e.g. `_articles/es/`, copy each guide from `_articles/` into that folder and translate each guide.
14+
1. Create a new directory in `_articles/` for your language e.g. `_articles/es/`, copy each guide from `_articles/` into that folder and translate the content in each guide, except for the field names in the front matter between the `---`s at the top of each file, e.g., `title:` should be unchanged.
15+
1. Copy `index.html` to your target language index file e.g. `[_articles/es/index.html](https://github.com/github/opensource.guide/blob/master/_articles/es/index.html)` and update the `lang:` and add the `permalink:` field.
1616
1. Run `script/test` and make sure there are no failures with your translation files. Note that you may need to rename anchor links or leave some headers in English to fix broken links.
1717
1. Send a pull request.
1818

0 commit comments

Comments
 (0)