I think the default locale is set in session scope
with the key org.apache.struts.Globals.LOCALE_KEY.
In my experience, if you don't set default locale,
struts will take the locale setting of the client
browser. Are you using zh_TW as the default locale in
your browser?

Regards,
Vincent

 --- Billy Ng <[EMAIL PROTECTED]> > I am going to
localize the product.  The
> getResources().getMessage() method just works fine
> with the following properties files.
> 
> ApplicationResources.properties
> ApplicationResources_en_US.properties
> ApplicationResources_fr_FR.properties
> 
> However, if I add the
> ApplicationResources_zh_TW.properties, the
> getResources().getMessage() will pick up the missing
> key-value pairs from
> ApplicationResources_zh_TW.properties instead of
> ApplicationResources.properties. Why?  I thought
> ApplicationResources.properties was the defualt.
> 
> ApplicationResources.properties
> ApplicationResources_en_US.properties
> ApplicationResources_fr_FR.properties
> ApplicationResources_zh_TW.properties
> 
> 
> ----------------------------------------------------
> This mailbox protected from junk email by Matador
> from MailFrontier, Inc. http://info.mailfrontier.com
>  



-----------------------------------------------------------------
每天都 Yahoo!奇摩
海的顏色、風的氣息、愛你的溫度,盡在信紙底圖
http://tw.promo.yahoo.com/mail_premium/stationery.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to