Skip to content

Commit 098fad5

Browse files
authored
Merge pull request #667 from denisediniz/upgrade-internationalization-process
Add language abbreviation examples folder as a step at "Start a new translation" section
2 parents 0dcc9cd + 743ad5d commit 098fad5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contributor_docs/i18n_contribution.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@ p5.js-website/
136136
```
137137
4. Duplicate `en.yml` - stored under `src/data/` - and name it `language_abbreviation.yml`. For example, when the Spanish version was created it was named `es.yml`. Check [How the website works](#how-the-website-works) and [File Structure](#file-structure) for further information.
138138
5. Duplicate `es.json` - stored under `src/data/reference/` - and name it `[language_abbreviation].json`.
139-
6. Add a new menu entry in [`src/templates/partials/i18n.hbs`](https://github.com/processing/p5.js-website/blob/master/src/templates/partials/i18n.hbs#L8) like so `<li><a href='#' lang='[language_abbreviation]' data-lang='[language_abbreviation]'>[language_name]</a></li>`.
139+
6. Duplicate `en` folder - stored under `src/data/examples` - and name it `language_abbreviation`.
140+
7. Add a new menu entry in [`src/templates/partials/i18n.hbs`](https://github.com/processing/p5.js-website/blob/master/src/templates/partials/i18n.hbs#L8) like so `<li><a href='#' lang='[language_abbreviation]' data-lang='[language_abbreviation]'>[language_name]</a></li>`.
140141
141142
## Working on existing translations
142143

0 commit comments

Comments
 (0)