Locale.JAPANESE = "ja" You will need to supply an app_ja.properties. This will also work for Local.JAPAN (ja_JP)
Cheers, Lance. On Wednesday, 11 April 2012, angelochen <angelochen...@yahoo.com.hk> wrote: > i did: > > configuration.add("tapestry.supported-locales", "en,zh,ru,jp"); > > a little confusion is, the doc says 'ja' not 'jp', but even 'ja' does not > work. > > to clear this question a little bit, i supply an app_jp.properties, and when > i do a localhost:8080/jp, it works. > the place it is not working is in a url rewrite where I do a > locale.setLocale(Locale.JAPANESE) and this does not show the page in > Japanese, if it is Locale.CHINESE it works. > > -- > View this message in context: http://tapestry.1045711.n5.nabble.com/setting-japanese-locale-in-a-service-tp5633103p5633263.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >