ReactNativeLocalization icon indicating copy to clipboard operation
ReactNativeLocalization copied to clipboard

Change locale for entire app

Open Pushpi1992 opened this issue 7 years ago • 2 comments

hi i implemented this library but after changing device language and i open background react native app but still its not changing language . I need when i open background app then localization should be happen.

Pushpi1992 avatar Jun 23 '18 07:06 Pushpi1992

@Pushpi1992 I think you should set a new locale when the app becomes an active state to match device locale.

kraisorns avatar Jul 25 '18 10:07 kraisorns

You would do this with global localizedstrings and global state. After changing the language just initiate call setState for whole app

nikolalukovic avatar Aug 27 '18 09:08 nikolalukovic