mirror of
https://github.com/status-im/react-native-i18n.git
synced 2025-02-23 09:18:21 +00:00
Merge pull request #15 from ognen/fix-ios-langauge-discovery
Fix ios langauge discovery
This commit is contained in:
commit
f880676170
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**.
|
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).
|
[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:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
### Android
|
### Android
|
||||||
Add `react-native-i18n` to your `./android/settings.gradle` file as follows:
|
Add `react-native-i18n` to your `./android/settings.gradle` file as follows:
|
||||||
```
|
```
|
||||||
|
BIN
docs/adding-locales.png
Normal file
BIN
docs/adding-locales.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 261 KiB |
Loading…
x
Reference in New Issue
Block a user