Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
zoontek committed Jul 12, 2018
1 parent c5a0ac4 commit 4f07374
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,7 @@ protected List<ReactPackage> getPackages() {

After that, you will need to recompile your project with `react-native run-android`.

**Note: You'll need to install Android build tools 25.0.2**

![android install](https://github.com/AlexanderZaytsev/react-native-i18n/blob/master/docs/android-install.png?raw=true)
**⚠️ Important: You'll need to install Android build tools 27.0.3**

## Usage

Expand Down Expand Up @@ -174,8 +172,8 @@ class Demo extends React.Component {

When fallbacks are enabled (which is generally recommended), `i18n.js` will try to look up translations in the following order (for a device with `en_US` locale):

* en-US
* en
- en-US
- en

**Note**: iOS 8 locales use underscored (`en_US`) but `i18n.js` locales are dasherized (`en-US`). This conversion is done automatically for you.

Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ android {
dependencies {
//noinspection GradleDynamicVersion
compile "com.facebook.react:react-native:${_reactNativeVersion}"
}
}
11 changes: 8 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-i18n",
"version": "2.0.12",
"version": "2.0.13",
"description": "Provide I18n to your React Native application",
"license": "MIT",
"author": "Alexander Zaytsev",
Expand All @@ -9,8 +9,13 @@
"type": "git",
"url": "github.com/AlexanderZaytsev/react-native-i18n.git"
},
"keywords": ["react-native", "react-component", "ios", "i18n"],
"keywords": [
"react-native",
"react-component",
"ios",
"i18n"
],
"dependencies": {
"i18n-js": "^3.0.3"
"i18n-js": "^3.0.11"
}
}

0 comments on commit 4f07374

Please sign in to comment.