... | ... | @@ -16,7 +16,7 @@ mkdir -p ~/bin |
|
|
> Note : OpenJDK must be (at least ?) version 8, version 9 and most probably later doesn't seem to work.
|
|
|
|
|
|
1. Configure zanata-cli (https://zanata.readthedocs.io/en/latest/client/configuration/)
|
|
|
1. Do your stuff, add your new strings to locale/en.json only
|
|
|
1. Do your stuff, add your new strings to locale/en.json only. You can add new strings by doing `make add-key-locales "key:string"` (Example: `make add-key-locales "3rd section:This is a new string."`
|
|
|
1. Push the new locales: `make push-locales`
|
|
|
(requires the Translate toolkit, provided by `translate-toolkit` on Debian)
|
|
|
1. Translate on https://trad.framasoft.org
|
... | ... | @@ -26,11 +26,11 @@ mkdir -p ~/bin |
|
|
|
|
|
## How to push one locale to Zanata?
|
|
|
|
|
|
If you want to push a traduction for one locale from a .json file, use the `push-trad-to-zanata.sh`:
|
|
|
If you want to push a traduction for one locale from a .json file, use the `make push-trad-to-zanata`:
|
|
|
|
|
|
```
|
|
|
./push-trad-to-zanata.sh fr_FR
|
|
|
./push-trad-to-zanata.sh br
|
|
|
make push-trad-to-zanata fr_FR
|
|
|
make push-trad-to-zanata br
|
|
|
```
|
|
|
|
|
|
-------------
|
... | ... | |