Translator documentation: Difference between revisions

Jump to navigation Jump to search
m
Line 13: Line 13:
   autotranslator.php lang_code_source lang_code_target
   autotranslator.php lang_code_source lang_code_target
For example :
For example :
   autotranslator.php en_US pt_PT to translate into portugues (pt_PT) using english (en_US) files.
   autotranslator.php en_US pt_PT
to translate into portugues (pt_PT) using english (en_US) files.


All non existing files will be created, all existing files will be update.
All non existing files will be created, all existing files will be update.
The tool use Google translation service to find the translation value of a string.
The tool use Google translation service to find the translation value of a string, so a working internet connection is required from station running the script.
Your PHP must have permission to write into htdocs/langs directory and must have curl functions availables.
Your PHP must also have permissions to write into htdocs/langs directory and must have curl functions availables.
 


=== Manual Translation with the Firefox plugin phpLangEditor ===
=== Manual Translation with the Firefox plugin phpLangEditor ===

Navigation menu