Eclipse下编辑properties文件的插件 【国际化插件】

时间:2020-12-29 09:03:08

Properties Editor

Eclipse下编辑properties文件的插件,用来写国际化程序非常方便,自动保存为ASCII码。日本人开发的,所以介绍网页全是日文。

UPDATE地址:http://propedit.sourceforge.jp/eclipse/updates

官网首页:http://propedit.sourceforge.jp/index_en.html

 

install_en.html:http://propedit.sourceforge.jp/howto_eclipseplugin_install_en.html

 

[ INSTALLATION ]

Please choose from the screen of Eclipse with "Help" ->"Software Updates" -> "Update Manager". An 'Update Manager' opens.

In the "Feature Updates" view at the lower left of an 'Update Manager', please carry out the right click of the "Sites to Visit", and create a site bookmark by "New" -> "Site Bookmark...".
- The bookmark to create should input the following "URL" and should push an "Finish" button.
Name: Arbitrary input
URL : http://propedit.sourceforge.jp/eclipse/updates/
Bookmark type: Eclipse update site

If a site bookmark is created, the bookmark created at the bottom of "Feature Updates" will appear.
A click of "jp.gr.java_conf.ussiy.app.propedit.eclipse.feature.PropertiesEditorFeature x.x.x" displays a preview on a right window. Since the button "Install Now" is in around the lower right, please click.

Since an installation wizard starts, please click a "Next" button rapidly.

"You will need to restart the workbench for the changes to take effect. Would you like to restart now?" is displayed. Please reboot Eclipse according to a dialog.

 安装完成后重启eclipse,即可看到效果;

Eg:rgdba_zh_CN.properties

 

login.username=\u7528\u6237\u540d\uff1a
login.password=\u5bc6 \u7801\uff1a
login.login=\u767b\u5f55
welcome.msg=\u6b22\u8fce\u4f60\uff1a{0}

 如果用openwith->propertiesEditor打开是:

 

login.username=用户名:
login.password=密 码:
login.login=登录
welcome.msg=欢迎你:{0}

 

或者用java自带的native2ascii转换中文;