From f2dd3b95a4da209493111fac7ca9ebf084efbf4d Mon Sep 17 00:00:00 2001 From: Henrik Fehlauer Date: Fri, 19 Jun 2020 18:00:00 +0000 Subject: [PATCH] Add warning regarding `yarn build i18next` / `gulp i18next` Also mention what is done by maintainers. --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1ef80ca..bec8064 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -48,9 +48,9 @@ docker-compose up serve ### How internationalization works -BRouter is translated using [i18next](https://www.i18next.com/) library, via command `gulp i18next`. It extracts translatable elements into `locales/en.json` file (English version). +BRouter is translated using [i18next](https://www.i18next.com/) library, via command `gulp i18next`. It extracts translatable elements into `locales/en.json` file (English version). (Note that unused translation keys or keys not referenced in `keys.js` might get removed automatically. Make sure to commit any changes first before running this, and only amend the previous commit after checking the diff carefully.) -As soon as this file is modified, it must be uploaded to Transifex (manually) with the command `yarn push-transifex`. +As soon as this file is modified, it must be uploaded by the maintainers to Transifex (manually) with the command `yarn push-transifex`. Anyone can then translate BRouter directly on [Transifex](https://www.transifex.com/openstreetmap/brouter-web/) platform.