Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ Mind that this is still a pre-1.0.0 so breaking changes may occur frequently.

## Usage

Simply declare the package in your `pubspec.yaml`
Simples way to add the latest version is to run `flutter pub add i18next`
Or you can declare it directly into your `pubspec.yaml` file:

```yaml
dependencies:
i18next: ^0.5.0
i18next: ^0.9.0 # (or the latest version available)
```

To use it with flutter's `LocalizationsDelegate` you first create `I18NextLocalizationDelegate` and register it in your `WidgetsApp` (`MaterialApp` or `CupertinoApp`).
Expand Down