Skip to content

Contributing

Sergio Vera edited this page Jun 21, 2023 · 5 revisions

How to add new languages

New languages can be easily added to Coreander just by adding a translation file to internal/webserver/embedded/translations. This translation file must be named following the language's ISO 639-1 code.

Translations are written in YAML. Each line of the translation file must keep the same key: translation structure found in other translations in this folder. Keys are the original english words and sentences written before a colon, and should be kept unmodified. Actual translation of the word or sentence to the target language must be put after the colon. You can use any of the existing translations as reference.

Once completed, just build Coreander executable, translation will be available in the web interface.

Clone this wiki locally