Document how to add locales in the Xcode project.
This commit is contained in:
parent
f7f72e1d8a
commit
a62db8e25b
11
README.md
11
README.md
|
@ -23,6 +23,17 @@ If you're having any issue you can also try to install the library manually as f
|
|||
Add `RNI18n.xcodeproj` to **Libraries** and add `libRNI18n.a` to **Link Binary With Libraries** under **Build Phases**.
|
||||
[More info and screenshots about how to do this is available in the React Native documentation](http://facebook.github.io/react-native/docs/linking-libraries-ios.html#content).
|
||||
|
||||
You also need to add the **localizations** you intend to support to the iOS project. To do that open
|
||||
your Xcode project:
|
||||
|
||||
```
|
||||
$ open <your-project>.xcodeproj
|
||||
```
|
||||
|
||||
and add the localizations you will support as shown here:
|
||||
|
||||
![adding locales](docs/adding-locales.png)
|
||||
|
||||
### Android
|
||||
Add `react-native-i18n` to your `./android/settings.gradle` file as follows:
|
||||
```
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 261 KiB |
Loading…
Reference in New Issue