31,003
edits
| Line 231: | Line 231: | ||
= [[File:Language.png]] Distribute or include your translation into core source = | = [[File:Language.png]] Distribute or include your translation into core source = | ||
Once you start translating, it's a smart decision to share it, so it can be included into the official code of Dolibarr. | Once you start translating, it's a smart decision to share it, so it can be included into the official code of Dolibarr. | ||
| Line 242: | Line 240: | ||
If you send us your translation through a Pull Request on Github, sadly, it will be overwritten by the next import from Transifex, so it would be very short-lived. | If you send us your translation through a Pull Request on Github, sadly, it will be overwritten by the next import from Transifex, so it would be very short-lived. | ||
Note: | |||
The reference language is en_US and is always complete. You can find it in the htdocs/langs/en_US/ folder. All other language files are likely to be slightly or highly incomplete, depending on the language. | The reference language is en_US and is always complete. You can find it in the htdocs/langs/en_US/ folder. All other language files are likely to be slightly or highly incomplete, depending on the language. | ||
If you are developing a new module, you are likely going to need the addition of new language variables. This is done exclusively through the update of the en_US language (htdocs/langs/en_US/ folder). Just modify these files to add the variable you need and send the resulting folder as part of your Pull Request. Refer to the developer documentation to learn how to contribute code (you will need an account on {{TemplateUrlSCM}}. | If you are developing a new module, you are likely going to need the addition of new language variables. This is done exclusively through the update of the en_US language (htdocs/langs/en_US/ folder). Just modify these files to add the variable you need and send the resulting folder as part of your Pull Request. Refer to the developer documentation to learn how to contribute code (you will need an account on {{TemplateUrlSCM}}. | ||
= [[File:Language.png]] Translate documentation on wiki = | = [[File:Language.png]] Translate documentation on wiki = | ||