Hi Eddie,
I am using chinese characters in Seam with no problems.
I have a messages_zh.properties with entries like:
Copyright=2006 \u8457\u4F5C
And I'm using this on my home page to allow the user to switch from their default
locale (as sent by the browser):
<h:selectOneMenu value="#{localeSelector.localeString}">
<f:selectItems value="#{localeSelector.supportedLocales}"/>
</h:selectOneMenu>
<h:commandButton action="#{localeSelector.select}"
value="#{messages.home_ChangeLanguage}"/>
And the locale support in my faces-config.xml:
<locale-config>
<default-locale>en-AU</default-locale>
<supported-locale>zh-CN</supported-locale>
</locale-config>
It works very well.
good luck,
Daniel.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982241#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...