Android: Get missing translations for strings-resources

前端 未结 16 1476
無奈伤痛
無奈伤痛 2020-12-02 22:43

In Android, you can specify the texts in the default locale in res/values/strings.xml. Additional translations can be added for new languages in res/value

16条回答
  •  猫巷女王i
    2020-12-02 23:27

    Interesting question. I've wrote simple script to find duplicate resources in android project at https://gist.github.com/1133059. It is ugly, I know, but I'll rewrite it in a few days and maybe create a project on github. To run it from console:
    $scala DuplicatesFinder.scala /path/to/android/project

    UPDATE:
    I've made a project on github https://github.com/4e6/android-localization-helper, maybe someone find it helpful

提交回复
热议问题