-
Notifications
You must be signed in to change notification settings - Fork 123
Home
Josh Habdas edited this page Aug 6, 2015
·
10 revisions
Welcome to the ReactNativeLocalization wiki!
Add code to project based on instructions in README. Then drop the following into your App to set the language used by the app at runtime (in this case we're using de
:
[[NSUserDefaults standardUserDefaults] setObject:[NSArray arrayWithObjects:@"de", nil] forKey:@"AppleLanguages"];
The above trick was pulled from Change the application locale on the fly with iOS internationalization. For a listing of locales please refer to and help maintain the following gist: https://gist.github.com/jacobbubu/1836273.