-
Notifications
You must be signed in to change notification settings - Fork 122
Home
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 German):
[[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.
In order to list your app as supporting multiple languages Xcode must be made aware of it. Trick Xcode into believing your app is localized by creating a Localizable.strings
file and adding localizations to your project based as described on StackOverflow.
Consider setting-up automated screenshots to take snaps of your app in various languages for the App Store.