Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #44053 All Revisions ] Back to Issue ]
Summary 0044053: Before transforming PO to XML, check whether new line exists at the end of PO File, if not add it
Revision 2020-05-13 15:20 by AtulOpenbravo
Description In Translation Helper, Export PO's process generates zip file which includes each module to be translated. PO files for each module table are structured such that each PO file ends with a new line.
When these PO files are being edited by PO Edit tool, it is found that new line at the end of PO file is lost.
For the Last candidates in such a PO files, When PO files are being transformed back to XML files in PO2XML, Original String is set as blank though there exists a Original String as well as Translated String for it.

eg could be found at

https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core.fr_FR/diff/a42eb9a0c723/referencedata/translation/fr_FR/OBUISEL_SELECTOR_TRL_fr_FR.xml [^]

@@ -1,22 +1,17 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <compiereTrl language="fr_FR" table="OBUISEL_SELECTOR" version="">
- <row id="34CC84D1AB714A978F6B79F2B434058A" trl="N">
- <value column="Name" original="Aba Layout Variant Selector"/>
- <value column="Description" original="Aba Layout Variant Selector"/>
+ <row id="34CC84D1AB714A978F6B79F2B434058A" trl="Y">
+ <value column="Name" original="Aba Layout Variant Selector">Sélecteur de variantes de disposition de la zone de boutons d'action</value>
+ <value column="Description" original=""/>


It is therefore necessary to check and if required add new line at end of each PO file before transforming them to XML files in the org.openbravo.xmlpo module
https://code.openbravo.com/erp/mods/org.openbravo.xmlpo [^]
Revision 2020-05-13 15:18 by AtulOpenbravo
Description In Translation Helper, Export PO's process generates zip file which includes each module to be translated. PO files for each module table are structured such that each PO file ends with a new line.
When these PO files are being edited by PO Edit tool, it is found that new line at the end of PO file is lost.
For the Last candidates in such a PO files, Original String is set as blank.

eg could be found at

https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core.fr_FR/diff/a42eb9a0c723/referencedata/translation/fr_FR/OBUISEL_SELECTOR_TRL_fr_FR.xml [^]

@@ -1,22 +1,17 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <compiereTrl language="fr_FR" table="OBUISEL_SELECTOR" version="">
- <row id="34CC84D1AB714A978F6B79F2B434058A" trl="N">
- <value column="Name" original="Aba Layout Variant Selector"/>
- <value column="Description" original="Aba Layout Variant Selector"/>
+ <row id="34CC84D1AB714A978F6B79F2B434058A" trl="Y">
+ <value column="Name" original="Aba Layout Variant Selector">Sélecteur de variantes de disposition de la zone de boutons d'action</value>
+ <value column="Description" original=""/>


It is therefore necessary to check and if required add new line at end of each PO file before transforming them to XML files in the org.openbravo.xmlpo module
https://code.openbravo.com/erp/mods/org.openbravo.xmlpo [^]
Revision 2020-05-13 15:16 by AtulOpenbravo
Description In Translation Helper, Export PO's process generates zip file which includes each module to be translated. PO files for each module table are structured such that each PO file ends with a new line.
When this PO files are being edited by PO Edit tool, it is found that new line at the end of PO file is lost.
For the Last candidates in such a PO files, Original String is set as blank.

eg could be found at

https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core.fr_FR/diff/a42eb9a0c723/referencedata/translation/fr_FR/OBUISEL_SELECTOR_TRL_fr_FR.xml [^]

@@ -1,22 +1,17 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <compiereTrl language="fr_FR" table="OBUISEL_SELECTOR" version="">
- <row id="34CC84D1AB714A978F6B79F2B434058A" trl="N">
- <value column="Name" original="Aba Layout Variant Selector"/>
- <value column="Description" original="Aba Layout Variant Selector"/>
+ <row id="34CC84D1AB714A978F6B79F2B434058A" trl="Y">
+ <value column="Name" original="Aba Layout Variant Selector">Sélecteur de variantes de disposition de la zone de boutons d'action</value>
+ <value column="Description" original=""/>


It is therefore necessary to check and if required add new line at end of each PO file before transforming them to XML files in the org.openbravo.xmlpo module
https://code.openbravo.com/erp/mods/org.openbravo.xmlpo [^]


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker