Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
abbadon1334 authored Apr 23, 2020
1 parent b5feed4 commit 812ec8b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ All documentation about the original library can be found here : http://i18next.
### How to use :

```
$this->translator = new TranslatorMock();
$this->translator = new Translator();
$this->translator->setTranslationsPath(__DIR__.'/data/locales');
```

Expand All @@ -28,7 +28,7 @@ Define if filename will be used has namespace :
$this->translator->useFilenameAsNamespace(true);
```

Define primary and fallback language (name of the folders where library load files) :
Define primary and fallback languages (using names of the folder) :
```
$this->translator->setLanguagePrimary($language);
$this->translator->setLanguageFallback($fallback);
Expand Down Expand Up @@ -110,4 +110,4 @@ $result = $this->translator->_('namespace:definitionKey', ['param1' => 'test'],
## Support ATK4 - Agile Toolkit Model
##### https://www.agiletoolkit.org

- [x] Interpolate with \atk4\data\Model
- [x] Interpolate with \atk4\data\Model

0 comments on commit 812ec8b

Please sign in to comment.