ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Crum <adri...@hlmksw.com>
Subject Re: Confused over localeString
Date Thu, 12 Feb 2009 18:05:05 GMT
http://java.sun.com/j2se/1.5.0/docs/api/java/util/Locale.html

madppiper wrote:
> Well, I am still confused. I got the part that I can change the available
> languages in the general.properties file. The confusion does not arise
> there. The confusion i got is the following:
> 
> What is the difference between en and en_US and de/de_DE respectively? Why
> are there 2 different choices for the languages and if I want my page to run
> in English and German would I choose en and de or en_US and de_DE for it? 
> 
> If I choose en and de, how would that affect the DataResource-Entries in the
> OFBiz CMS? Do they still need to have the localeString set to en_US and or
> de_DE? And why would would the setting of de in the start.properties file
> still resolve to de_DE in the locale on startup, if de is set through the
> setSessionLocale command, the locale will change to de and not de_DE as on
> the start.properties file...
> 
> It all comes down to this: why two different localeStrings (eg: de and
> de_DE) if they both mean the same? 


After you read the information in the link I provided, you will see that 
de and de_DE are NOT the same.

-Adrian

Mime
View raw message