Skip to content

Commit a5fbf32

Browse files
authored
Merge pull request #1641 from koji/add-tec-part-to-translations_duidelines
Add description for .env
2 parents 9db9db0 + cce3405 commit a5fbf32

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: developer_docs/translations.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ In order to simplify the translations process the following rules of thumb were
1212
* There is only one file to translate all the texts in any specific language, which is located under the directory, in respective locale [subdirectory](https://github.com/processing/p5.js-web-editor/tree/develop/translations/locales)
1313
* The new language code must be added to [client/i18n.js](https://github.com/processing/p5.js-web-editor/blob/develop/client/i18n.js#L7)
1414
* New languages will need to be selected using a dropdown in Nav component, specifically in function [renderLanguageMenu.](https://github.com/processing/p5.js-web-editor/blob/develop/client/components/Nav.jsx#L550)
15-
15+
* Need to add `TRANSLATIONS_ENABLED=true` to `.env` to activate dropdown for the languages.
16+
1617
## Translations
1718

1819
* Every component should introduce its own subset of keys inside a dictionary named after the component.

0 commit comments

Comments
 (0)