0

There's an instance where I want to specify a spanish version of the copy. Even though the default language is set to english.

Is it possible to pass the localization-specified for getString()?

Tim Nuwin
  • 2,775
  • 2
  • 29
  • 63
  • 1
    it seems like there's no good straightforward way to do that. see http://stackoverflow.com/questions/17771531/android-how-to-get-string-in-specific-locale-without-changing-the-current-local for workarounds – borowis Nov 02 '16 at 13:53

1 Answers1

0

If you are trying to get a string from a different locale, then you'll need to temporarily switch the locale. You can find the example here: how to get string from different locales in Android?

Community
  • 1
  • 1
MiLo
  • 21
  • 2