android - How to add a string to the default values folder only? -


i have res/values folder containing strings.xml file , res/values-xx folder containing strings.xml file (for each of languages xx support). @ moment, strings.xml files contain same strings (same string names, different string values). there way can add string res/values/strings.xml file without having add res/values-xx/strings.xml files, , such app pick on default string regardless of phone's language setting? @ moment compiler aborts , complains string has not been translated each of supported languages.

the "compiler" not "abort" because have untranslated string. may lint errors, ant clean debug, ant clean release, , eclipse equivalents work fine. make sure on current edition of sdk tools (and adt plugin if using eclipse).

to rid of lint errors, have <resources> element untranslated string appears this:

<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="missingtranslation"> 

Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -