31,016
edits
| Line 11: | Line 11: | ||
* Translator OS: All | * Translator OS: All | ||
* Tool: autotranslator.php provided with Dolibarr 2.5.1 and higher in directory '''dev/translation'''. | * Tool: '''autotranslator.php''' provided with Dolibarr 2.5.1 and higher in directory '''dev/translation'''. | ||
This method is recommanded when starting a translation for a language not already initialized. If there is already a translation available but you need to add missing key or correct errors, try to use next method. | |||
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: | ||
| Line 24: | Line 25: | ||
All non existing files will be created, all existing files will be updated. | All non existing files will be created, all existing files will be updated. | ||
The tool use [http://translate.google.com Google translation] service to find the translation value of a string, so a working Internet connection is required from station running the script. | The tool use [http://translate.google.com Google translation] service to find the translation value of a string, so a working Internet connection is required from station running the script. Because of limits of Google service, you may need to run the script secevral times to complete strings that fails. Script will automatically not translate strings already translated and submit only new lines. | ||
Your PHP must also have permissions to write into '''htdocs/langs''' directory and must have curl functions available. | Your PHP must also have permissions to write into '''htdocs/langs''' directory and must have curl functions available. | ||