Translator documentation: Difference between revisions

Jump to navigation Jump to search
m
mNo edit summary
Line 8: Line 8:
== Translation via the Firefox plugin phpLangEditor ==
== Translation via the Firefox plugin phpLangEditor ==


    * OS translator: All
* OS translator: All
    * Tool: phpLangEditor (plugin for Firefox)  
* Tool: phpLangEditor (plugin for Firefox)  


  1. Install Firefox and install version 2.5 or higher of plugin phpLangEditor (http://code.google.com/p/phplangeditor/)
This is step to follow to make a translation using the Firefox plugin:
  2. A further step is required to complete the installation. Call the URL about: then in the Filter field, enter phplangeditor. Double click on the line phpLangEditor.file.typeOfLangExt and put '''ini''' in field. phpLangEditor is now ready to translate Dolibarr.
 
  3. From Firefox, open phpLangEditor by selecting the menu Tools -> PHP lang editor.
# Install Firefox and install version 2.5 or higher of plugin phpLangEditor (http://code.google.com/p/phplangeditor/)
  4. Click on "Open reference file" and choose your file. Lang original (eg in your Dolibarr, htdocs / lang / en_US / bills.lang
# A further step is required to complete the installation. Call the URL about: then in the Filter field, enter phplangeditor. Double click on the line phpLangEditor.file.typeOfLangExt and put '''ini''' in field. phpLangEditor is now ready to translate Dolibarr.
  5. Click 'Open file translation and select the file containing the translation, if a file exists (eg htdocs / lang / es_ES / bills.lang).
# From Firefox, open phpLangEditor by selecting the menu Tools -> PHP lang editor.
  6. You can choose to display all the words to translate the words or only non-translated. Click on the term in the left column to translate it into the box below. You can also use keyboard shortcuts such as CTRL + N to move to the next
# Click on "Open reference file" and choose your file. Lang original (eg in your Dolibarr, htdocs / lang / en_US / bills.lang
  7. Save the file once the translation is finished.
# Click 'Open file translation and select the file containing the translation, if a file exists (eg htdocs / lang / es_ES / bills.lang).
  8. 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.  
# You can choose to display all the words to translate the words or only non-translated. Click on the term in the left column to translate it into the box below. You can also use keyboard shortcuts such as CTRL + N to move to the next
# 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.


== Translation by iniTranslator ==
== Translation by iniTranslator ==

Navigation menu