Skip to content

Fix typos #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
6 changes: 3 additions & 3 deletions source/index.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export default withLocalize(Main);
```

Before accessing any translations in your app you will need to [initialize](#initialize) localize with your settings.
The settings object requires `lanuages`, while `translation`, and `options` are optional.
The settings object requires `languages`, while `translation`, and `options` are optional.

| Property | Type | Description |
| ----------- | ------ | ------------------------------------------------------------------------------------------------------------------ |
Expand Down Expand Up @@ -140,8 +140,8 @@ this.props.addTranslationForLanguage(frenchMovieTranslations, "fr");

Translation data comes in two different flavours - the [all languages](#all-languages-format) and [single language](#single-language-format) format.

* Use [addTranslation](#addtranslation) method to add data in `all languges` format.
* Use [addTranslationForLanguage](#addtranslationforlanguage) method to add data in `single languge` format.
* Use [addTranslation](#addtranslation) method to add data in `all languages` format.
* Use [addTranslationForLanguage](#addtranslationforlanguage) method to add data in `single language` format.

As soon as you add the translation data to localize it can be rendered in your components using [Translate](#translate-2).

Expand Down