Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0054368Openbravo ERPE. Translationpublic2024-01-17 12:012024-02-13 09:15
tonialcaide 
tonialcaide 
normalminorhave not tried
closedfixed 
5
 
PR24Q2 
approved
No
Core
No
0054368: A new ant task export.translation is required to call to the export translation tool (TranslationManager.exportTrl)
A new ant task export.translation is required to call to the export translation tool (TranslationManager.exportTrl).
 
The new task is called by the org.openbravo.translator.helper/src/org/openbravo/translator/helper/scripts/publish.sh script.

The reason for this is to work properly with reduced translations. If the zip file containing the POs was created with the 'Reduced translation' option, all the 'not reduced' fields such as helps and descriptions will be lost. To avoid this, the script will run the full export just after the apply.module (via a new ant task export.translation), to make sure the new translations are in the database, and it will copy the files from the attachments folder to each translated module.
N/A
No tags attached.
Issue History
2024-01-17 12:01tonialcaideNew Issue
2024-01-17 12:01tonialcaideAssigned To => Triage Platform Base
2024-01-17 12:01tonialcaideOBNetwork customer => No
2024-01-17 12:01tonialcaideModules => Core
2024-01-17 12:01tonialcaideTriggers an Emergency Pack => No
2024-01-17 12:12hgbotMerge Request Status => open
2024-01-17 12:12hgbotNote Added: 0159407
2024-02-13 08:53AugustoMauchAssigned ToTriage Platform Base => tonialcaide
2024-02-13 08:54hgbotMerge Request Statusopen => approved
2024-02-13 09:15hgbotResolutionopen => fixed
2024-02-13 09:15hgbotStatusnew => closed
2024-02-13 09:15hgbotFixed in Version => PR24Q2
2024-02-13 09:15hgbotNote Added: 0160670
2024-02-13 09:15hgbotNote Added: 0160671

Notes
(0159407)
hgbot   
2024-01-17 12:12   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1107 [^]
(0160670)
hgbot   
2024-02-13 09:15   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: b31c0456006717ab3a95cb1c02a51c1c95b80f54
Author: Toni Alcaide <antonio.alcaide@openbravo.com>
Date: 13-02-2024 08:15:05
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/b31c0456006717ab3a95cb1c02a51c1c95b80f54 [^]

Fixes ISSUE-54368: A new ant task export.translation is required to call to the export translation tool (TranslationManager.exportTrl).

The new task is called by the org.openbravo.translator.helper/src/org/openbravo/translator/helper/scripts/publish.sh script.

The reason for this is to work properly with reduced translations. If the zip file containing the POs was created with the 'Reduced translation' option, all the 'not reduced' fields such as helps and descriptions will be lost. To avoid this, the script will run the full export just after the apply.module (via a new ant task export.translation), to make sure the new translations are in the database, and it will copy the files from the attachments folder to each translated module.

---
A src/org/openbravo/erpCommon/modules/TranslationManagerTask.java
M build.xml
---
(0160671)
hgbot   
2024-02-13 09:15   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1107 [^]