Translator documentation: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 43: Line 43:
# Save the file once the translation is finished.
# Save the file once the translation is finished.
# Edit the file with a text editor to remove or correct the first comment line. Indeed, with phpLangEditor, it is not possible to translate the lines Discussed (starting with #), the file contains translated once recorded the comment line of the source file. A small manual editing is needed to correct or delete this line, although this does not adversely affect the proper functioning of the new file. Lang.
# Edit the file with a text editor to remove or correct the first comment line. Indeed, with phpLangEditor, it is not possible to translate the lines Discussed (starting with #), the file contains translated once recorded the comment line of the source file. A small manual editing is needed to correct or delete this line, although this does not adversely affect the proper functioning of the new file. Lang.
== Manual Translation with iniTranslator ==
* Translator OS: Windows
* Tool: iniTranslator (Windows).
Follow these steps to translate using iniTranslator :
# Run your application translation will ask the template file (For example, under iniTranslator, do File - Open Original). Choose the source model in the directory htdocs / lang / en_US or htdocs / lang / en_US, which are up to date.
# Then choose the destination file may, in the directory htdocs / lang / xx_XX or xx is the language code to translate.
# Your tools will display the files 2 face to face with the missing strings to translate.
# Complete files.
# Save the new destination file.
Attention, iniTranslator has a serious defect. It does not retain the original order of the parameters and the generated file sorting alphabetically rather than keys in the order of the source file. In addition, areas comments source files are not reflected in the destination file translated.


== Manual Translation ==
== Manual Translation ==