Translator documentation: Difference between revisions

m
Line 12: Line 12:


To make or update all files of a language code, just run the script:
To make or update all files of a language code, just run the script:
  autotranslator.php lang_code_source lang_code_target
<source lang="bash">
php autotranslator.php lang_code_source lang_code_target
</source>
For example :
For example :
  autotranslator.php en_US pt_PT
<source lang="bash">
php autotranslator.php en_US pt_PT
</source>
to translate into portugues (pt_PT) using english (en_US) files.
to translate into portugues (pt_PT) using english (en_US) files.