Migrate Transifex config by new CLI client
https://github.com/transifex/cli#migrating-from-older-versions-of-the-client
This commit is contained in:
parent
bac32de98b
commit
d09fdbcff8
2 changed files with 6 additions and 6 deletions
|
|
@ -1,10 +1,10 @@
|
||||||
[main]
|
[main]
|
||||||
host = https://www.transifex.com
|
host = https://www.transifex.com
|
||||||
minimum_perc = 1
|
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
|
||||||
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
|
|
||||||
|
|
||||||
[brouter-web.brouter-website]
|
[o:openstreetmap:p:brouter-web:r:brouter-website]
|
||||||
file_filter = locales/<lang>.json
|
file_filter = locales/<lang>.json
|
||||||
source_file = locales/en.json
|
source_file = locales/en.json
|
||||||
source_lang = en
|
source_lang = en
|
||||||
type = JSON
|
type = JSON
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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.)
|
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.
|
Anyone can then translate BRouter directly on [Transifex](https://www.transifex.com/openstreetmap/brouter-web/) platform.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue