Accepted answer

android studio:

  • "file" > "settings" and type "missingtranslation" into the search box


  • windows/linux: in "window" > "preferences" > "android" > "lint error checking"
  • mac: "eclipse" > "preferences" > "android" > "lint error checking"

find the missingtranslation line, and set it to warning as seen below:

missing translations, is not translated in


you can also put resources which you do not want to translate to file called donottranslate.xml.

example and explanation:


many of them has a given a different working answers, and i too got the same lint errors i make it ignore by doing the following with eclipse.

  1. click on windows
  2. click on preferences
  3. select android > lint error checking.
  4. click on ignore all > apply > ok.

thats it.


the following worked for me.

  • click on windows
  • click on preferences
  • select android > lint error checking.
  • find and select the relevant lint checking and
  • set the severity to 'ignore' (on bottom right)


another approach is to indicate the languages you intend to support and filter out the rest using the 'resconfigs' option with gradle.

check out this other answer for details

this is better, i think, because you don't have to completely ignore legitimate translation mistakes for languages you actually want to support


in addition,

not project dependent properities, eclipse preferences.
in mac, eclipse > preferences

enter image description here


add following to your gradle file in android section

    lintoptions {
       disable 'missingtranslation'


insert in the lint.xml file this:

<?xml version="1.0" encoding="utf-8"?>

        severity="ignore" />

for more details: suppressing lint warnings.


add the lines in your /res/values.xml file in resource root tab like this:

    tools:locale="en" tools:ignore="missingtranslation">

tools:locale set the local language to english, no need of language translation later on that for all resource strings and tools:ignore let lint to isnore the missing translations of the resource string values.


if you want to turn off the warnings about the specific strings, you can use the following:


<?xml version="1.0" encoding="utf-8"?>

    <!--suppress missingtranslation -->
    <string name="some_string">ignore my translation</string>


if you want to warn on specific strings instead of an error, you will need to build a custom lint rule to adjust the severity status for a specific thing.


this will cause lint to ignore the missing translation error for all strings in the file, yet other string resource files can be verified if needed.

<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="" 


to ignore this in a gradle build add this to the android section of your build file:

lintoptions {
   disable 'missingtranslation'


you can set the attribute translatable="false" on the definition like this:

<string name="account_setup_imap" translatable="false">imap</string>

for more information:

Related Query

More Query from same tag