Translator documentation: Difference between revisions

Jump to navigation Jump to search
Line 61: Line 61:
== Manual translation ==
== Manual translation ==


To translate Dolibarr into another language, go to the langs directory and create a folder/directory named with the code language to translate (Following the existing format, for example en_US, en_GB, es_ES, de_DE, etc...). Then copy the files (already translated) from an existing langs directory (for example en_US/main.lang, en_GB/bills.lang), into the new language directory that we had just created.
To translate Dolibarr into another language, go to the langs directory and create a folder/directory named with the code language to translate (follow the existing format, for example en_US, en_GB, es_ES, de_DE, etc...). Then copy the files (already translated) from an existing language directory (for example en_US/main.lang, en_GB/bills.lang), into the new language directory that we had just created.


These files have the following format of code and its translated value pairs in each line:
These files have the following format of key/value pairs in each line:


<source lang="ini">
<source lang="ini">
304

edits

Navigation menu