You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Martin Lidgard <ma...@arkatay.com> on 2004/04/25 23:08:00 UTC

Re: Localization does strange things

Hello all,

Did anyone find a solution to this problem? 
I have had the same problem since Turbine 2.2 and I am currently putting the
final touches on a 5-language site where a proper stepping down of locale
specifics from 
MyBundle_lang_COUNTRY.properties -> MyBundle_lang.properties ->
MyBundlebundle.properties 
is necessary.

/Martin
Martin Lidgard
Arkatay Consulting 
________________________________

Arkatay Consulting
Magle Stora Kyrkogata 6
SE 223 50 Lund
Sweden
Cell: +46 739 373815
Fax: +46 46 157716
Mail: martin@arkatay.com
Web: www.arkatay.com	 





 
Date: Sat, 28 Feb 2004 00:28:53 +0100
From: Thomas Ebeling <t....@conis.de>
Subject: Localization does strange things
Content-Type: text/plain; charset=us-ascii; format=flowed


Hello,

I use turbine 2.3 and have two Resource Bundles:

de.conis.projectXY.MyBundle  	--> contains English strings
de.conis.projectXY.MyBundle_de	--> contains German strings

I have modified the following in my TurbineResource.properties:

locale.default.bundle=de.conis.projectXY.MyBundle
locale.default.language=en
locale.default.country=US

$data.getLocale() results to "en_US" but still, I retrieve only the 
German strings.

Any idea, what's wrong here?


Thomas

-- 
Thomas Ebeling
Software Entwickler
conis Informationssysteme GmbH
Hohenzollerndamm 196
10717 Berlin
Tel.: 030 / 86 31 34 00
Fax: 030 / 86 31 34 02
Mobil: 0151 / 15 10 56 67
email: t.ebeling@conis.de
Internet: www.conis.de





---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org