Avoid Android Lint complains about not-translated string
It's the ignore
attribute of the tools
namespace in your strings file, as follows:
<?xml version="1.0" encoding="utf-8"?>
<resources
xmlns:tools="http://schemas.android.com/tools"
tools:ignore="MissingTranslation" >
<!-- your strings here; no need now for the translatable attribute -->
</resources>
I don't know how to ignore all the file, but you can do it string by string using:
<string name="hello" translatable="false">hello</string>
Add to build.gradle
:
android {
lintOptions {
disable 'MissingTranslation'
}
}