1。国际化

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

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

spark源码笔记

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

  custom.friends=朋友

  修改代码为:

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

      

    

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-30
  • 2021-04-19
  • 2021-10-10
  • 2021-11-07
  • 2021-11-20
  • 2021-08-05
猜你喜欢
  • 2021-08-03
  • 2022-12-23
  • 2021-09-19
  • 2021-10-26
  • 2022-12-23
相关资源
相似解决方案