Skip to content
Josh Habdas edited this page Aug 6, 2015 · 10 revisions

Welcome to the ReactNativeLocalization wiki!

Testing your localization

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.

Clone this wiki locally