Difference between revisions of "Tool4po"

From ADempiere
Jump to: navigation, search
This Wiki is read-only for reference purposes to avoid broken links.
(Created page with '=tool4po= * You may have some questions: ** ADempiere language package is '''XML''' format, while Launchpad.net is using '''PO''' file format. How to transform it? ** We've ready…')
 
Line 20: Line 20:
 
** Latest development: [https://adempiere.svn.sourceforge.net/viewvc/adempiere/branches/tool4po/ SVN on sf.net]
 
** Latest development: [https://adempiere.svn.sourceforge.net/viewvc/adempiere/branches/tool4po/ SVN on sf.net]
 
** Zip packages: [[Media:Tool4po.zip|Tool4po]]. Version: 0.97a on July 18, 2010.
 
** Zip packages: [[Media:Tool4po.zip|Tool4po]]. Version: 0.97a on July 18, 2010.
 +
 +
== Development ==
 +
*  We are going to carry out following development, you are welcome to contribute :-)
 +
** "--get-po-all" Batch generate XML packages for all languages, from the PO package downloaded from Launchpad.net.
 +
** "--merge-xml" Merge all XML files into one XML file, so that you can find & check translations conveniently.
 +
 +
=== Development finished ===
 +
*  New function: Merge "en_US" XML packages of new version into POT template files. Will be processed on next stable release.
 +
*  New function: '--get-xml' Update XML files from PO files downloaded from Launchpad.net. ( Finished on Jun 21, 2010 )
 +
*  OO re-write. Finished. Completely re-write in object-orient method. Finished on Jun 3rd, 2010.
  
 
== Version ==
 
== Version ==
Line 34: Line 44:
 
** New support for western languages such as German.
 
** New support for western languages such as German.
  
== Development finished ==
+
 
*  New function: Merge "en_US" XML packages of new version into POT template files. Will be processed on next stable release.
+
*  New function: '--get-xml' Update XML files from PO files downloaded from Launchpad.net. ( Finished on Jun 21, 2010 )
+
*  OO re-write. Finished. Completely re-write in object-orient method. Finished on Jun 3rd, 2010.
+
  
 
= Reference =
 
= Reference =
 
* [[TranslationProject|Translation Project]]
 
* [[TranslationProject|Translation Project]]

Revision as of 01:21, 7 August 2010

tool4po

  • You may have some questions:
    • ADempiere language package is XML format, while Launchpad.net is using PO file format. How to transform it?
    • We've ready have a good amount of translation in PostgreSQL or in XML package. How can we use it?
  • How to cover the gaps? That is "tool4po"!
  • tool4po is a tool for file format convertion between XML-AD format and .PO format.
    • XML-AD format is ADempiere standard XML format in language packages.
    • .PO format is a kind of format related with GNU gettext. Launchpad translation platform is using .PO format.
  • tool4po is developed using python3.1.

Basic functions

    • Convert XML en_US packages into POT files. (.POT is standard model for global translations)
    • Convert existing XML translation packages into .po files, so that the existing translations can be upload to lp.net

Extension

  • tool4po is designed for global languages. Now it works well for Chinese & Japanese.
  • It can be easily avaible for other languages by changing one pattern string in config.xml.

Download

Development

  • We are going to carry out following development, you are welcome to contribute :-)
    • "--get-po-all" Batch generate XML packages for all languages, from the PO package downloaded from Launchpad.net.
    • "--merge-xml" Merge all XML files into one XML file, so that you can find & check translations conveniently.

Development finished

  • New function: Merge "en_US" XML packages of new version into POT template files. Will be processed on next stable release.
  • New function: '--get-xml' Update XML files from PO files downloaded from Launchpad.net. ( Finished on Jun 21, 2010 )
  • OO re-write. Finished. Completely re-write in object-orient method. Finished on Jun 3rd, 2010.

Version

  • What is new in 0.981a:
    • Now we can see help information like "Located in Content of: id-100:Name,id-114:Name ... ..." in Launchpad.net
  1. (Jul 18, 2010) New POT template files are uploaded into Launchpad.net. Adding supports for Words with Different Translations.
  • What is new in 0.97a:
    • Enhaned the POT template files. 1. Support Words with Different Translations. 2. Whole information of 'Content of'
  • What is new in 0.962a:
    • Using en_US standard package.
    • New function: --tidy-xml.
  • What is new in 0.957a:
    • New function: --get-xml.
    • New support for western languages such as German.


Reference