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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0004793
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] E. Translationminoralways2008-09-02 14:172010-02-09 08:35
ReporterelopioView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionout of dateFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version2.40
OSLinux 32 bitDatabasePostgreSQLJava version1.5.0_15
OS VersionUbuntu 8.04Database version8.2Ant version1.7.0
Product Version2.40SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0004793: src-loc/lg_CT sub-folder is not created after compiling with a new language

DescriptionWhen 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.
TagsNo tags attached.
Attached Fileszip file icon 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
Powered by Mantis Bugtracker