1

If I switch my phone's locale to German for example, I still want the option to be able to access the english / default resources using something along the lines of:

getString(R.string.some_text, locale);

I've tried switching the default locale using

Locale.setDefault

but as expected, when using R.getString(x), my resource was still in German.

Answer:

Changing Locale within the app itself

Community
  • 1
  • 1
Adam
  • 456
  • 2
  • 10

0 Answers0