`
chilongxph
  • 浏览: 135426 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论

国际化资源方法

 
阅读更多
1.先建立中文资源文件内容:
  app_temp.properties
  login=登陆:
  username=用户名:
  password=密码:
==================================
2.然后再写一个native2.bat批处理文件内容:
  native2ascii -encoding gb2312 app_temp.properties app_cn.properties
==================================
3.然后双击运行native2.bat批处理文件,你的目录下将出现app_cn.properties文件,内容为:
  login=\u767b\u9646:
  username=\u7528\u6237\u540d:
  password=\u5bc6\u7801:
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics