Skip to content

Commit 248b82b

Browse files
committed
Merge pull request stefalda#31 from mklb/patch-2
Added rnpm - the easiest way to install this package
2 parents d532f7c + 3b0484a commit 248b82b

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,20 @@ The Javascript library uses a native library (ReactLocalization) to get the curr
1818

1919
It's possible to force a language different from the interface one.
2020

21-
## Installation iOS
21+
## Installation
22+
The easiest way to install: use [rnpm](https://github.com/rnpm/rnpm), the react native package manager. (If you don´t have it: install it via `npm install rnpm -g`)
23+
24+
Just run `rnpm install react-native-localization` inside your react-native project folder and you are ready to go. Don´t forget to restart the app / node server or you will see an error.
25+
26+
### Manual installation iOS
2227

2328
1. `npm install --save react-native-localization`
2429
2. In the XCode's "Project navigator", right click on Libraries folder under your project ➜ `Add Files to <...>`
2530
3. Go to `node_modules``react-native-localization` and add the `ReactNativeLocalization.xcodeproj` file
2631
4. Add libReactNativeLocalization.a to Build Phases -> Link Binary With Libraries
2732
5. Build and run
2833

29-
##Installation Android
34+
### Manual installation Android
3035
1. `npm install --save react-native-localization`
3136
2. In `android/setting.gradle`
3237

0 commit comments

Comments
 (0)