You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Nomen Nomanum <ge...@outlook.com> on 2013/06/11 18:34:48 UTC

Localization issue

I have made localization for english, bulgarian, serbian and spanish language, and it all worked fine on my laptop which uses Spanish as default, however, once I have deployed my app to another PC, which has English as root language, I am encountiring following issue:
-I have set my property files as following :

IndexPage.property
IndexPage_en.property
IndexPage_bg.property
IndexPage_sr.property

and on my laptop which uses Spanish, it all works fine, ie, once I am in

localhost:3434/IndexPage  - it's in Spanish
localhost:3434/en/IndexPage  -it's in English


but on my PC which uses English as default language, it's following:


localhost:3434/IndexPage  - it's in English?!
localhost:3434/en/IndexPage  - it's in English ?!



Anyone else had similiar issue to this one? What am I doing wrong?

 		 	   		  

Re: Localization issue

Posted by Lance Java <la...@googlemail.com>.
This is core java and not really tapestry related. It's driven by
Locale.getDefault()

http://stackoverflow.com/questions/8809098/how-do-i-set-the-default-locale-for-my-jvm