1、Eclipse 中插件开发多语言的实现

为了使用.properties 文件,需要在 META-INF/MANIFEST.MF 文件中定义:
      Bundle-Localization: about
这样就会自动加载 about.properties 文件

即将.properties的文件名在 Bundle-Localization头中声明,这样.properties就会被加载到plugin中去

然后在 plugin.xml 文件中,将字符串替换为 %key 就可以了

相关文章:

  • 2021-09-05
  • 2021-10-26
  • 2021-12-16
  • 2021-12-28
  • 2021-08-09
  • 2021-11-20
  • 2021-11-09
  • 2022-01-10
猜你喜欢
  • 2021-11-09
  • 2021-05-23
  • 2022-12-23
  • 2021-12-25
  • 2021-08-04
  • 2021-05-27
  • 2023-01-04
相关资源
相似解决方案