is it possible to specify that the strings in a file within the value-* directories are purposely not translated into other languages? I have a bunch of strings
Another way to do that is add your string to gradle file, using resValue or buildConfigField. Something like that:
buildTypes {
debug {
buildConfigField "string", "app_name1", "App Name"
resValue "string", "app_name2", "App Name"
}
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
buildConfigField "string", "app_name1", "App Name"
resValue "string", "app_name2", "App Name"
}
}
Usages:
// buildConfigField
BuildConfig.APP_NAME1
// resValue
getString(R.string.app_name2)