mirror of
https://github.com/status-im/react-native-i18n.git
synced 2025-02-23 01:08:17 +00:00
Update README.md
This commit is contained in:
parent
5971c0b478
commit
8924df3c7a
11
README.md
11
README.md
@ -8,13 +8,16 @@ Integrates [I18n.js](https://github.com/fnando/i18n-js) with React Native. Uses
|
||||
|
||||
## Installation
|
||||
|
||||
**Using yarn ()**
|
||||
|
||||
`$ yarn add react-native-i18n`
|
||||
|
||||
**Using npm**
|
||||
|
||||
`$ npm install react-native-i18n --save`
|
||||
|
||||
**Using yarn**
|
||||
|
||||
`$ yarn add react-native-i18n`
|
||||
NB: npm 5 currently has an issue resolving git sub-dependencies.
|
||||
Check [this issue](https://github.com/AlexanderZaytsev/react-native-i18n/issues/101) for more informations.
|
||||
|
||||
## Automatic setup
|
||||
|
||||
@ -85,6 +88,8 @@ After that, you will need to recompile your project with `react-native run-andro
|
||||
|
||||
**Note: You'll need to install Android build tools 25.0.2**
|
||||
|
||||
![https://github.com/AlexanderZaytsev/react-native-i18n/blob/master/docs/android-install.png?raw=true]()
|
||||
|
||||
## Usage
|
||||
```javascript
|
||||
import I18n from 'react-native-i18n'
|
||||
|
Loading…
x
Reference in New Issue
Block a user