【问题标题】:How to manage i18n properties files in eclipse rcp?如何在 eclipse rcp 中管理 i18n 属性文件?
【发布时间】:2013-06-23 12:05:30
【问题描述】:

Eclipse RCP 中翻译后的字符串存储在 *.properties 文件中,如下所示:

//these keys are used in...
key1=translation
key2=translation

//these keys are used in another place...
key11=translation
key12=translation
....

现在可能有很多字符串。 通常使用字符串的语义将字符串分成组。 例如。工具栏的字符串组合在一起。

现在这些组增长,有时行交换。 如果这样的 *properties 文件用英文扩展,现在新的字符串也应该翻译成西班牙语的 *properties。

问题是,很难找到添加到主要 *properties 中的字符串,现在也应该添加到西班牙语文件中。 管理此类 *properties 文件的常用方法是什么?

【问题讨论】:

    标签: java properties internationalization eclipse-rcp


    【解决方案1】:

    在我们的项目中,我们使用Resource Bundle Editor plugin。它允许您在单个窗口中一次编辑所有属性文件。再简单不过了。

    【讨论】:

      猜你喜欢
      • 2016-04-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-10-29
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多