Skip to content

Translation

Julian Pömp edited this page Sep 18, 2017 · 1 revision

OCTRA enables adding new translations for its GUI. If you want to add new translations this is easy in the way that you do not need programming skills.

There are different translation files:

  • ./i18ln/: This folder contains the translation of OCTRA's GUI but not the translation for the guidelines (file name: octra_<lang>.json).
  • ./config/localmode/guidelines/: This folder contains the files for defining guidelines and their translation (file name: guidelines_<lang>.json). You can finde more Information here.

For each language you need to define one file in ./i18ln/ and in ./config/localmode/guidelines/. For Example, if you want to add a new Spanish translation you can duplicate the English file in these two folders and rename it to "octra_es.json" and "guidelines_es.json". Open the files in a text editor. After that the only task you have to do is to replace the right side of the attributes (values) with your new translation.

Remark: The guidelines.json files should be defined and translated by project leaders. For now OCTRA v1.2 supports only one project configuration per installation.