Is it possible to change the language of an app programmatically while still using Android resources?
If not, is it possible to request a resource in an specific lan
If someone looking for disable language at compile time, here is the solution:
android { defaultConfig { resConfigs "en" } }
This isn't just for disabling localisation—resConfigs simply tells the build system which resources to keep.
You can check original answer here