Mercurial > gemma
diff client/docs/developer.md @ 1802:70573eea890e
improve Translation process : improve package.json and update the documentation
* update vue-gettext dependency
* add script to automate the `make translations` process via yarn serve/build
* delete run:both, it misses the step in serve/build
* update the Documention according to the last changes
author | Fadi Abbud <fadi.abbud@intevation.de> |
---|---|
date | Tue, 15 Jan 2019 09:50:59 +0100 |
parents | ec0a0542c221 |
children | 922075a7d598 |
line wrap: on
line diff
--- a/client/docs/developer.md Tue Jan 15 09:42:38 2019 +0100 +++ b/client/docs/developer.md Tue Jan 15 09:50:59 2019 +0100 @@ -75,11 +75,8 @@ - SK - HU - HR -- RS -- BiH - BG - RO -- UA ## Our preferred translation cycle is as follows: @@ -113,7 +110,8 @@ In order to extract the messages from the templates call `make makemessages`. After that you have the `.po`-file which could be translated. -After translation, you have to call `make translations` to generate the `translations.json` + +After translation, `make translations` has to be called to generate the `translations.json`, that is being done automatically via yarn serve/build. which is consumed by `vue-gettext`. The workflow is as follows: