struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vipul Sanghi" <>
Subject RE: ApplicationResources
Date Thu, 26 Dec 2002 05:39:32 GMT
The locale that you are specifying does not include the country extention.
It only knows of zh because you are probably doing new Locale("zh").  You
have to use the country variant when you instantiate and set the locale  i
think it is you have to do new Locale("zh", "hk") to pick traditional
chinese etc.


-----Original Message-----
From: Eric Tse []
Sent: Thursday, December 26, 2002 11:27 AM
To: Struts Users Mailing List
Subject: ApplicationResources

Dear all,

I am trying to feed in 3 languages on my web, i.e. English (en-us),
Traditional Chinese (zh-hk), and Simplified Chinese (zh-cn).

I named the application resources as follows:           (for en-us)          (for zh-hk)

they work!! But when the following settings apply....           (for en-us)          (for zh-hk)          (for zh-cn)

only en-us works! :~(

any hint?


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message