Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0002590Openbravo ERPC. Securitypublic2008-02-03 17:332008-07-03 19:07
jpabloae 
user71 
normalminoralways
closedfixed 
5
 
2.40beta 
No
Core
No
0002590: New client does not default its lang to en_US
After doing a Initial Client Setup and logging in, it takes the first available active (ISACTIVE) and "system language" (ISSYSTEMLANGUAGE). In a default Openbravo ERP installation this is Spanish (es_ES). It should choose English (en_US), but it doesn't because it is not a "system language", but the "base language". This may lead a non-spanish user to confusion.

See "getDefaultLanguage" in src/org/openbravo/base/secureApp/DefaultOptions_data.xsql .

I propose to default it to en_US and delete this method.
No tags attached.
depends on backport 0003618 closed alostale New client does not default its lang to en_US 
Issue History
2008-07-03 19:07plujanStatusresolved => closed
2008-07-03 19:07plujanFixed in Version2.40alpha-r2 => 2.40beta

Notes
(0006179)
user71   
2005-06-01 00:00   
(edited on: 2008-06-12 09:43)
This bug was originally reported in SourceForge bug tracker and then migrated to Mantis.

You can see the original bug report in:
https://sourceforge.net/support/tracker.php?aid=1885766 [^]
(0003143)
alostale   
2008-02-05 12:01   
(edited on: 2008-06-12 09:24)
Logged In: YES
user_id=1500722
Originator: NO

Tip.: it might be necessary to use the isDefault check for languages.
(0003144)
user71   
2008-05-06 12:37   
(edited on: 2008-06-12 09:24)
Logged In: YES
user_id=1964080
Originator: NO

Fixed since revision 2283
Branch: trunk

  - Corrected the sql statement that obtains the default language for new Clients. Now takes the base language en_US
(0003145)
user71   
2008-05-06 12:53   
(edited on: 2008-06-12 09:24)
Logged In: YES
user_id=1964080
Originator: NO

Fixed since revision 2283 in the trunk

  - Corrected the sql statement that obtains the default language for new Clients. Now takes the base language en_US.