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

前端 未结 6 854
南方客
南方客 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:44

    I found a better solution according to this answer: https://stackoverflow.com/a/13797364/190309

    Just add ignore="MissingTranslation" to your string.xml, for example:

    
    
    
      
    
    
    

提交回复
热议问题