在jsf中更改语言 [英] changing language in jsf

查看:137
本文介绍了在jsf中更改语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在下拉列表中选择更改事件,将标签文本英语更改为日语...我的项目正在使用JSF 2.0,Spring和iBatis....请帮助我....

i wanna change label text english language to japanese language in dropdownlist selected change event... my project is using JSF 2.0, Spring and iBatis.... plese help me....

推荐答案

其关键字是 NLS 或-有时也使用 i18N .有时甚至称为国际化多语言支持.

Java使用UTF-8作为GUI,请看一下本教程:
JSF 2国际化示例 [ Eclipse ResourceBundle编辑器 [ ^ ]
The keyword for that is NLS or - sometimes also used i18N. Sometimes it''s even called internationalization or multi language support.

Java uses UTF-8 for the GUI, looking at this tutorial:
JSF 2 Internationalization Example[^]

...I expect the JSF Components to do the same.

I strongly recommend using the RBE-Plugin in Eclipse, that one helps organizing the language files and converts all non-conform Characters into UTF-8:
Eclipse ResourceBundle Editor[^]


这篇关于在jsf中更改语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆