Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于默认的语言@Localization(value = "me/wiki/i18n",defaultLocalizationKey="zh_CN")没有写入session的问题。 #346

Closed
jemygraw opened this issue Nov 20, 2012 · 1 comment
Labels

Comments

@jemygraw
Copy link

请问@Localization(value = "me/wiki/i18n",defaultLocalizationKey="zh_CN")这样的设置是没有写到session里面的是么?因为${sessionScope.nutz_mvc_localization_key}取不出来。我觉得默认也应该写到session里面。只有需要改变的时候,再重新写入新的语言。因为有的时候js需要用到当前的语言环境来切换语言。

@zozoh
Copy link
Member

zozoh commented Nov 20, 2012

这个是写到 request 对象的 attributes 里的 ,我取 msg 都是

${msg['a.b.c.']}

@zozoh zozoh closed this as completed Nov 20, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants