Add back-end traductions to zanata
Currently we have the following :
- JSON files (
$lang.json
or$lang_$locale.json
) insidejs/src/i18n
for front-end, that get converted to gettext files insidepo/
, from where they get send from and to zanata - gettext files for backend inside
priv/gettext/$lang/LC_MESSAGES/file.po
However, Zanata only allows for one source or translation directory, so we've got 3 options:
- Make another project to differenciate front-end and backend
- Hack our way to copy files from and to
priv/gettext/$lang/LC_MESSAGES/file.po
so that everything insidepo/
for Zanata to handle - Make the source and translation directory as the root directory, and try to use Translation files mapping rules for the files to be found properly.
Related to https://framagit.org/framasoft/pickweaver/merge_requests/86