Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0004793 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] E. Translation | minor | always | 2008-09-02 14:17 | 2010-02-09 08:35 | |||
Reporter | elopio | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | normal | Resolution | out of date | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | 2.40 | |||
OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.5.0_15 | |||
OS Version | Ubuntu 8.04 | Database version | 8.2 | Ant version | 1.7.0 | |||
Product Version | 2.40 | 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 | 0004793: src-loc/lg_CT sub-folder is not created after compiling with a new language | |||||||
Description | When I try to change the application language I get a null pointer exception because src-loc/lg_CT folder is not created. See http://pastebin.com/f7c2af6cc [^] for full details. Menu is not loaded, and the error is shown on right panel. | |||||||
Steps To Reproduce | (http://wiki.openbravo.com/wiki/Acceptance_Testing#Administration_master_data [^] - 3.Import/Export Translation) * Login as Openbravo/openbravo * Go to General setup->Application->Language * Click Search button and fill Italian% as name. Click OK * Select Italian (Italy). Mark System language * Click Verify language * Go to General setup->Import/Export translations * Select Entity: System * Select Italian(Italy) language * Click on Export button After that, download the translated XML files (in ZIP format) for your country. Unzip and copy them to attachment/lang/lg_CT folder. * Login as Openbravo/openbravo * Go to General setup->Import/Export translations * Select Italian(Italy) language * Click on Import button * Compile the application and restart tomcat Login as Openbravo/openbravo, change on Role Information the language and verify main menĂº and other windows are shown in correct language. I've tried with Italian (attached) and Spanish (http://downloads.sourceforge.net/openbravo/Spanish_Spain_Translation_R2.40.zip [^]) translations. | |||||||
Tags | No tags attached. | |||||||
Attached Files | Italian_Italy_Translation.zip [^] (564,590 bytes) 2008-09-02 14:17 | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0008853) elopio (reporter) 2008-09-02 17:59 |
I deleted the context files that were on Tomcat's webapps folder and compiled again. This time language directories were created and I can change the application language. |
(0008854) elopio (reporter) 2008-09-02 18:02 |
The solution was to delete context folder, as the wiki says http://wiki.openbravo.com/wiki/Translating_Openbravo#Installing_a_new_translation [^] |
(0008855) cromero (reporter) 2008-09-02 18:03 |
The solution will be to modify the deploy task in order to delete the context before copying the new war file: <target name="deploy" depends="init"> <delete dir="${jakarta.context}"/> <copy file="${base.lib}/${context.name}.war" todir="${jakarta.base}/webapps"/> </target> |
(0012825) pheenan (reporter) 2009-01-29 15:50 |
Updating target version to 2.40. In 2.50 the language directories are no longer created or used under src-loc. |
Issue History | |||
Date Modified | Username | Field | Change |
2008-09-02 14:17 | elopio | New Issue | |
2008-09-02 14:17 | elopio | Assigned To | => cromero |
2008-09-02 14:17 | elopio | sf_bug_id | 0 => 2088837 |
2008-09-02 14:17 | elopio | File Added: Italian_Italy_Translation.zip | |
2008-09-02 17:59 | elopio | Note Added: 0008853 | |
2008-09-02 18:02 | elopio | Status | new => closed |
2008-09-02 18:02 | elopio | Note Added: 0008854 | |
2008-09-02 18:02 | elopio | Resolution | open => no change required |
2008-09-02 18:03 | cromero | Note Added: 0008855 | |
2008-09-02 18:04 | cromero | Status | closed => new |
2008-09-02 18:04 | cromero | Resolution | no change required => open |
2008-09-02 18:04 | cromero | Status | new => scheduled |
2008-09-02 18:05 | cromero | Target Version | => 2.50 |
2008-09-05 16:39 | psarobe | Severity | major => minor |
2008-11-10 13:04 | cromero | Assigned To | cromero => rafaroda |
2008-11-13 22:01 | rafaroda | Assigned To | rafaroda => pheenan |
2009-01-29 15:50 | pheenan | Note Added: 0012825 | |
2009-01-29 15:50 | pheenan | Target Version | 2.50 => 2.40 |
2009-03-24 10:50 | AinhoaPagola | Assigned To | pheenan => alostale |
2010-02-09 08:35 | alostale | Status | scheduled => closed |
2010-02-09 08:35 | alostale | Resolution | open => out of date |
Copyright © 2000 - 2009 MantisBT Group |