This outlines how to get the language file, get it translated, and then merge it back in once translated remotely. It's worth opening and reading the useful documentation on Pootle's offline translation functionality.
- Navigate to the relevant file on translate.frontlinesms.com - N.B. at present only Core is in Pootle, Cloud is not at all translated yet so incomplete files will be added this week
- Download the XLIFF language file, due to a bug multiple steps are required:
- Find the language file that you want, they will look something like 'messages_es.properties' and link to http://translate.frontlinesms.com/es/core/messages_es.properties
- Copy the Export link shown on this language's specific project page, for example the link on the Core Spanish page is
http://translate.frontlinesms.com/download/es/core/messages_es.properties
- And modify link like this
http://translate.frontlinesms.com/export-file/xlf/es/core/messages_es.properties
(i.e. switch /download/ for /export-file/xlf/) - Enter this link into a browser and download the resulting file - make sure the file you get is a .xlf file otherwise you might not have swapped the URL bits around correctly above.
- Email the XLF file to the translator
- Once translated, ensure the translated file is still in XLF format and import the file via the upload button. Select merge (2nd option) and the existing target file. The system should then do clever things and update the language.
- Notify a \o/ dev of the update; a developer will need to check the language and they will 'Commit to VCS' using the Pootle/Git link.
0 Comments