Openbravo Issue Tracking System - Tools
View Issue Details
0006019Toolsopenbravo2popublic2008-11-18 13:382011-03-31 11:13
gforcada 
pheenan 
normalcriticalalways
closedfixed 
5
0006019: Move the trl="Y" from <row> to <value> tag
If you start translating xml files from Openbravo ERP and within a row that contains 3 values (name, help and description) you only translate name the Openbravo2po tool marks the whole row as translated even if help and description are not translated.

This is more problematic if you then export them to po files with runXML2PO. You end with po files that claim to be fully translated but that aren't translated at all (or maybe just some strings but not all).
Move the trl switch from <row> tag to <value> tag and fix runXML2PO to ensure that only the really translated <value> are translated in the resulting po files.

Note that maybe this change implies more changes somewhere (I really don't know).
commsup_sprint6
Issue History
2008-11-18 13:38gforcadaNew Issue
2008-12-09 14:55pheenanAssigned To => pheenan
2009-02-10 16:32pheenanNote Added: 0013315
2009-02-10 17:23pheenanStatusnew => scheduled
2009-02-10 17:23pheenanNote Added: 0013322
2009-02-10 17:23pheenanfix_in_branch => trunk
2009-02-10 17:25pheenanStatusscheduled => resolved
2009-02-10 17:25pheenanResolutionopen => fixed
2009-02-10 17:25pheenanNote Added: 0013323
2009-02-12 11:22gforcadaNote Added: 0013398
2009-02-12 11:24gforcadaNote Added: 0013399
2009-02-20 09:30PavelPonomarevTag Attached: commsup_sprint6
2011-03-31 11:13dalsasuaStatusresolved => closed

Notes
(0013315)
pheenan   
2009-02-10 16:32   
When importing the file following a template merge the isTrl flag in the value is ignored. The problem is when exporting the language to XML this flag is not generated correctly. Therefore all lines are flagged with isTrl=N regardless of whether they have been translated or not.

Introduce handling for the isTrl flag into the import and export process in Openbravo ERP. This can then be integrated with teh openbravo2po-valueTrl branch functionality.
(0013322)
pheenan   
2009-02-10 17:23   
Update src.org.openbravo.erpCommon.ad_forms.Translation.java to include the isTrl flag in the value line of the exported xml file.
(0013323)
pheenan   
2009-02-10 17:25   
Fixed in svn commit 13027.

Updating export translation process to flag value lines as translated or not. Used in conjunction with openbravo2po to improve efficiency in updating localisations.

src/org/openbravo/erpCommon/ad_forms/Translation.java
(0013398)
gforcada   
2009-02-12 11:22   
Great news!

Thanks a lot :)
(0013399)
gforcada   
2009-02-12 11:24   
Wiki should be updated though