Skip to content

Commit b5b4d82

Browse files
authored
Remove extra step in translation setup instructions
Revert #599
1 parent 7748fdc commit b5b4d82

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

contributor_docs/i18n_contribution.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,9 @@ p5.js-website/
134134
"new language here (or in correct alphabetical spot)"
135135
],
136136
```
137-
4. Add an entry with the new language abbreviation at `src\assets\js\init.js` to the `langs` array defined in the first line.
138-
5. 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.
139-
6. Duplicate `es.json` - stored under `src/data/reference/` - and name it `[language_abbreviation].json`.
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>`.
137+
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.
138+
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>`.
141140
142141
## Working on existing translations
143142

0 commit comments

Comments
 (0)