Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
robisim74 committed Feb 16, 2018
1 parent e21e5c7 commit 38dca48
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/spec/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -438,17 +438,17 @@ See also [LocaleStorage](https://github.com/robisim74/angular-l10n/blob/master/s
---

### Getting browser language
Depending on the configuration, the library will try to get the language from the browser or not:
Depending on the configuration, _the library_ will automatically try to get the language from the browser or not:

**If you set `language`**

- tries to get the `language` from the storage
- _the library_ tries to get the `language` from the storage
- or tries to get the `language` from the browser
- or uses the `language` set in the configuration

**If you set `defaultLocale`**

- tries to get the `defaultLocale` from the storage
- _the library_ tries to get the `defaultLocale` from the storage
- or uses the `defaultLocale` set in the configuration

That's because not all browsers return `languageCode-countryCode`.
Expand Down

0 comments on commit 38dca48

Please sign in to comment.