Openbravo Issue Tracking System - Tools
View Issue Details
0010453Tools[Openbravo ERP] Z. Otherspublic2009-09-01 18:002011-10-29 18:37
vmromanos 
marvintm 
normalmajoralways
acknowledgedopen 
20Ubuntu 8.04
0010453: openbravo2po: -DmsgStr option is not working properly
When you're transforming the XML files to PO files using openbravo2po application, the -DmsgStr option is used when you want the output of the PO file to show an empty msgstr if the value text is the same as the original text in the XML document. This option is very useful for updating translations, because we know that we need to translate only the empty msgstr records.

This option is not working properly in openbravo2po v2.3 (downloaded from sourceforge), because after using it, the PO file contains records with the same msgid and msgstr (instead of empty msgstr).
1- Install the last Spanish translation module
2- Export the Spanish language XML files (as System Administrator, go to General Setup || Application || Import/Export Translations || Import/Export Translations, select Spanish and export it)
3- Run openbravo2po to generate the PO files, with the DmsgStr=true:
ant runXML2PO -DinpFold=lang/es_ES -DoutFold=/tmp/ -DmsgStr=true
4- Open the AD_Message_MsgText_es_ES.po file. You will a lot of records with the same msgid and msgstr. (In my case, for example "Error in Remittance Type definition, parameter contract missing.")
No tags attached.
Issue History
2009-09-01 18:00vmromanosNew Issue
2009-09-01 18:00vmromanosAssigned To => rafaroda
2009-09-02 11:54rafarodaNote Added: 0019407
2009-09-02 11:54rafarodaAssigned Torafaroda => alostale
2009-09-02 11:54rafarodaStatusnew => acknowledged
2009-10-06 09:55alostaleAssigned Toalostale => marvintm
2011-10-29 18:37psarobeProjectOpenbravo ERP => Tools

Notes
(0019407)
rafaroda   
2009-09-02 11:54   
Asier,

Can you please move this issue to Project 'Tools', category 'openbravo2po'?

Thanks.