Translate
Cantara can be easily translated to an other language. While doing so, you will help to spread the use of the software all over the world, so that also people who don’t speak English have access to Cantara.
How it works
Cantara uses language files (*.mo
-files) which contain the translated language strings in a binary language. This files can be created by using an editor like Poedit using the cantara.pot file as a template.
If you would like to do a translation into a new language, procedure in the following way:
Download cantara.pot and open it with an appropriate editor.
Translate the strings into the desired target language.
Export the translated content as an
.mo
-file but also keep the translated.po
file!Copy the
language.mo
file to<cantara-dir>/languages/language/cantara.mo
(replacelanguage
with the shortcode of the language, e.g. de for German, en for English, zh for Chinese, etc.).Test your translation by running Cantara with the
--lang
option:cantara --lang=<language code>
If the translation works well, please make a pull request at GitHub so that others can make use of it as well.
Current State
Currently, Cantara is translated to the following languages:
Language | Completeness |
---|---|
English | 100 % |
German | 100 % |
Chinese (traditional) | 100 % |
Italian | 100 % |
Spanish | 100 % |
Dutch | 100 % |