Translator documentation: Difference between revisions

Jump to navigation Jump to search
m
Line 201: Line 201:
tx -d push -s  # To push source file
tx -d push -s  # To push source file
</source>
</source>
<!-- INTEGRATION IS PART OF THE PROCESS USING TRANSIFEX AND TRANSLATORS DON'T HAVE TO DO ANYTHING IN ORDER TO DISTRIBUTE THEIR WORK
= [[File:Language.png]] Distribute or integrate your translation =
== Into official Dolibarr sources ==
The best thing after making a translation, is to include it on official version of Dolibarr.
If you made the translation using Transifex web interface, there is nothing to do. The Dolibarr development repository will be synchronized by released manager to include your changes.
If you have edited existing .lang files or if you have created new .lang files for a new language, you can:
* You can push changes/new files if you know how to use a GIT system. For this create an account on {{TemplateUrlSCM}}, fork Dolibarr project, make your change then send a Pull Request.
* Or just send your files by mail attachment to the list: '''dolibarr-dev@nongnu.org''' (subscription on page {{TemplateURLMLDev}}). A developer will add it for you into project.
Note: There are two master/reference languages, both of them are always upto date and complete:
* English (Language files are in the directory langs/en_US)
* French (Language files are in the directory langs/fr_FR)
You can use either of the two as reference because both are up to date. All other language files are likely to be incomplete.
== As a separate addon file ==
When you create a new language, if it is not integrated into Dolibarr, it can still be spread to others. You can build a package to distribute using the script '''build/makepack-dolibarrlang.pl''' but you can also make a zip by your own to send it on dolistore.com or on developer mailing-list '''dolibarr-dev'''  (subscription on page {{TemplateURLMLDev}}).
User just has to unzip package into its dolibarr root directory to have language available.
-->


= [[File:Language.png]] Distribute or include your tanslation into core source =
= [[File:Language.png]] Distribute or include your tanslation into core source =

Navigation menu