diff --git a/.tx/config b/.tx/config index 28c21f4..c4d299d 100644 --- a/.tx/config +++ b/.tx/config @@ -1,10 +1,10 @@ [main] -host = https://www.transifex.com -minimum_perc = 1 -lang_map = fr_CA:fr-CA,pt_BR:pt-BR,zh_CN:zh-CN,zh_HK:zh-HK,zh_TW:zh-TW,da_DK:da-DK,sv_SE:sv-SE,kn_IN:kn-IN,nl_NL:nl-NL,en_NL:en-NL,gl_ES:gl-ES +host = https://www.transifex.com +lang_map = pt_BR: pt-BR, zh_HK: zh-HK, nl_NL: nl-NL, da_DK: da-DK, sv_SE: sv-SE, kn_IN: kn-IN, en_NL: en-NL, gl_ES: gl-ES, fr_CA: fr-CA, zh_CN: zh-CN, zh_TW: zh-TW -[brouter-web.brouter-website] +[o:openstreetmap:p:brouter-web:r:brouter-website] file_filter = locales/.json source_file = locales/en.json source_lang = en -type = JSON +type = JSON + diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 277de0d..9f3ab69 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -50,7 +50,7 @@ docker-compose up serve 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 by the maintainers 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` (maintainers need to install the new [cli client](https://github.com/transifex/cli)). Anyone can then translate BRouter directly on [Transifex](https://www.transifex.com/openstreetmap/brouter-web/) platform.