Translator documentation: Difference between revisions

Jump to navigation Jump to search
Line 159: Line 159:
'''tx push'''<br/>
'''tx push'''<br/>
Used to push changes to Transifex<br>
Used to push changes to Transifex<br>
<code><pre>Additional options for the tx push command are:
Additional options for the tx push command are:
<code><pre>
-h - Shows the help screen for the command
-h - Shows the help screen for the command
-l <lang> - Specify which translations you want to push (defaults to all)
-l <lang> - Specify which translations you want to push (defaults to all)
Line 172: Line 173:
Used to pull changes from Transifex<br/>
Used to pull changes from Transifex<br/>
Additional options for the tx pull command are:
Additional options for the tx pull command are:
<code><pre>
-h - Shows the help screen for the command
-h - Shows the help screen for the command
-l <lang> - Specify which translations you want to pull (defaults to all)
-l <lang> - Specify which translations you want to pull (defaults to all)
Line 180: Line 182:
--skip - Don't stop on errors. Useful when pushing many files concurrently.
--skip - Don't stop on errors. Useful when pushing many files concurrently.
--disable-overwrite - By default Transifex will fetch new translations files and replace existing ones. Use this flag if you want to disable this feature.
--disable-overwrite - By default Transifex will fetch new translations files and replace existing ones. Use this flag if you want to disable this feature.
--minimum_perc=VALUE - Specify the minimum acceptable percentage of a translation in order to download it.
--minimum_perc=VALUE - Specify the minimum acceptable percentage of a translation in order to download it.</pre></code>
Note: If pulling a remote resource for the first time, the -l <lang> parameter (if set) must use the Transifex language (i.e. en_GB), otherwise the resource will not be downloaded.
Note: When pulling a remote resource for the first time, the -l <lang> parameter (if set) must be used to specify the Transifex language (i.e. en_US), otherwise the resource will not be downloaded.


== Integrate its translation into Dolibarr ==
== Integrate its translation into Dolibarr ==
83

edits

Navigation menu