2. 编辑语言文件并测试
在注册简体中文以后,java l10n机制会主动去寻找zh_CN语言文件
该语言文件‘应该’位于 resources\\l10n 下,文件名为 messages_zh_XXXXXoperties如果文件不存在,请以 XXXXXXXXXXXoperties 为模板新建一个。文件结构:
左端是字段属性名,右侧是字段内容,就是需要汉化的地方
! RocketActions
XXXXXXXXXXXXXXXXXXXXXXXXXnotaskmeagain = Do not ask me againXXXXXXXXXXXXXXXXl.Youcanchangedefop = You can change the default operation in the preferences.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXl1 = Delete the selected simulations?XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXl2 = <html><i>This operation cannot be undone.</i>XXXXXXXXXXXXXXXXowConfirmDialog.title = Delete simulations
保存后运行程序即可预览
具体步骤请参阅(草案)
XXXXXXXXXXXXXXXXXXXXXXXX/t/59805