CODEDRAGON ㆍDevelopment/Android
에러 내용
"app_name" is not translated in af, am, ar, bg, ca, cs, da, de, el, en-rGB, en-rIN, es, es-rUS, et-rEE, fa, fi, fr, fr-rCA, hi, hr, hu, hy-rAM, in, it, iw, ja, ka-rGE, km-rKH, ko, lo-rLA, lt, lv, mn-rMN, ms-rMY, nb, nl, pl, pt, pt-rPT, ro, ru, sk, sl, sr, sv, sw, th, tl, tr, uk, vi, zh-rCN, zh-rHK, zh-rTW, zu
Issue: Checks for incomplete translations where not all strings are translated Id: MissingTranslation
If an application has more than one locale, then all the strings declared in one language should also be translated in all other languages.
If the string should not be translated, you can add the attribute translatable="false" on the <string> element, or you can define all your non-translatable strings in a resource file called donottranslate.xml. Or, you can ignore the issue with a tools:ignore="MissingTranslation" attribute.
By default this detector allows regions of a language to just provide a subset of the strings and fall back to the standard language strings. You can require all regions to provide a full translation by setting the environment variable ANDROID_LINT_COMPLETE_REGIONS.
You can tell lint (and other tools) which language is the default language in your res/values/ folder by specifying tools:locale="languageCode" for the root <resources> element in your resource file. (The tools prefix refers to the namespace declaration http://schemas.android.com/tools.) |
해결방법
해당 문법체크항목의 경고레벨을 낮게 변경하여 해결하는 방법
Window > Preferences > Android > Lint Error Checking >
MissingTranslation 항목 선택
Security의 에러 등급을 Warning 으로 변경
OK
Yes
'Development > Android' 카테고리의 다른 글
Error-All versions of the libraries must be the same at this time. (0) | 2015.02.10 |
---|---|
Error-timeout Launch canceled!, 애뮬레이터 에러 (0) | 2015.02.09 |
Error-A package name cannot start or end with a dot (0) | 2015.02.07 |
디바이스 재접속-adb 종료시키기 (0) | 2015.02.05 |
Android Studio Update (0) | 2015.02.04 |