Skip to content

Commit 914465e

Browse files
committed
Add description for .env
#1638 (comment)
1 parent 7f6e95e commit 914465e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

developer_docs/translations.md

Lines changed: 2 additions & 1 deletion
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)