Thanks,
I modified the AppModule.java like the following and everything worked fine.
public static void contributeApplicationDefaults(
MappedConfiguration<String, String> configuration)
{
configuration.add(SymbolConstants.SUPPORTED_LOCALES, "en,zh_TW");
.......
........
Roy
Have you declared zh_TW in AppModule? You need to. See if these
examples help:
http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/localization/bymessagecatalog
http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/localization/bytemplate
Cheers,
Geoff
On 16/10/2009, at 10:11 PM, Roy Douglas wrote:
Hi,
I create a resource file name app_zh_TW.properties, and an actionlink
component and
the method persistentLocale.set(Locale.TAIWAN) to switch the locale, but
I have this
error when I click on the actionlink.
Locale 'zh_TW' is not supported by this application. Supported locales
are 'en'; this is configured via the tapestry.supported-locales symbol.
Does Tapestry 5.1.05 support zh_TW?
Thanks
Roy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org