Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0008070 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] E. Translation | minor | always | 2009-03-11 14:58 | 2009-06-22 08:04 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | high | Resolution | no change required | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 906b65e00d8e | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0008070: Translations do not work for manual windows if they don't set defaultLang variable | |||||||
Description | On line translation is taking the language to translate to from the defaultLang variable in HTML. This makes that in case this variable is not (properly) set the translation is not correctly performed. | |||||||
Steps To Reproduce | -Create a new manual window with translatable tags -In the HTML do not include the defaultLang variable -Run ant translate to generate text interfaces for the new window -Translate these new entries to another lanugage -Change application language to that langue -Go to the window and check it is not translated at all | |||||||
Proposed Solution | In org.openbravo.uiTranslation.TranslationHandler.setLanguage method do not retrieve language information from html variable but from session variable (vars.getLanguage()) | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0015195) shuehner (administrator) 2009-04-03 19:12 |
This current behavior to use defaultLang is consistent with translation of i.e. calendar & calculator. They do use this info for determining the language. It was added for these users in the first place. |
(0015440) alostale (manager) 2009-04-20 15:03 |
As Stefan says, this defaultLang is also needed for calendar and calculator so even we made not needed for interface we would still require it. Thus it is not worth to modify xmlEngine to retrieve it from session instead from html. |
(0017498) hgbot (developer) 2009-06-22 08:04 |
Repository: erp/devel/pi Changeset: 906b65e00d8ea79456e03603b757c1e6bc60c91a Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Mon Jun 22 08:04:09 2009 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/906b65e00d8ea79456e03603b757c1e6bc60c91a [^] fixed bug 009353: With the application in spanish, terms of some reports are in English Fixed several problems in online translation: -Template was not properly selected for files not ending in .html -Langauge was not taken for templates without language tag (reported as issue 8070) -Text was not properly trimmed when doing the online translation --- M src-core/src/org/openbravo/base/HttpBaseServlet.java M src-core/src/org/openbravo/uiTranslation/TranslationUtils.java M src-core/src/org/openbravo/xmlEngine/XmlDocument.java M src-core/src/org/openbravo/xmlEngine/XmlEngine.java --- |
Issue History | |||
Date Modified | Username | Field | Change |
2009-03-11 14:58 | alostale | New Issue | |
2009-03-11 14:58 | alostale | Assigned To | => pheenan |
2009-03-11 14:58 | alostale | Regression testing | => No |
2009-03-12 13:37 | rafaroda | Priority | normal => high |
2009-03-12 13:37 | rafaroda | Status | new => scheduled |
2009-03-12 13:37 | rafaroda | version | => pi |
2009-03-24 10:40 | AinhoaPagola | Assigned To | pheenan => alostale |
2009-04-03 19:12 | shuehner | Note Added: 0015195 | |
2009-04-20 15:03 | alostale | Status | scheduled => closed |
2009-04-20 15:03 | alostale | Note Added: 0015440 | |
2009-04-20 15:03 | alostale | Resolution | open => no change required |
2009-04-21 00:00 | anonymous | sf_bug_id | 0 => 2776828 |
2009-06-22 07:23 | alostale | Relationship added | related to 0009353 |
2009-06-22 08:04 | hgbot | Checkin | |
2009-06-22 08:04 | hgbot | Note Added: 0017498 | |
2009-06-22 08:04 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/906b65e00d8ea79456e03603b757c1e6bc60c91a [^] |
Copyright © 2000 - 2009 MantisBT Group |