localized-strings icon indicating copy to clipboard operation
localized-strings copied to clipboard

How to get string of particular language?

Open gentlee opened this issue 6 years ago • 1 comments

How to get string of particular language without changing language globally for the whole app?

Something like this strings.forLanguage('ar')['key']

gentlee avatar May 14 '18 10:05 gentlee

You could use getString(key,lang)

e.g.

strings.getString('myobject.mystring', 'ar');

fbacker avatar Sep 24 '18 11:09 fbacker