Android Lint: how to ignore missing translation warnings in a regional locale string file that purposely only overrides some default translations?

前端 未结 6 859
南方客
南方客 2020-12-24 11:34

Is it possible to translate some strings, but not all, in a separate resource file without Lint complaining about MissingTranslation?

For example: m

6条回答
  •  清歌不尽
    2020-12-24 11:43

    This seems to not answered yet, so I show you one solution:

    In your DEFAULT xml file, you can define strings, that don't need translations like following:

    Developer Name
    

    This string does not need to be translated and lint will not complain about it either...

提交回复
热议问题