spark源码笔记

1。国际化

  如添加朋友Friends是英文,可以找着相关的类,并在国际化配置文件中添加key

  在项目中全局搜索“Friends”,将得到的结果集全部展开,找到这两个文件:

  在国际化配置文件spark_i18n_zh_CN.properties 中增加

  custom.friends=朋友

  修改代码为:

    groupBox.addItem(Res.getString("custom.friends"));

      

    

posted @ 2014-05-01 13:41  jhhu  阅读(176)  评论(0编辑  收藏  举报