Commit Graph

5 Commits

Author SHA1 Message Date
Christian Kaisermann
4484da0133 docs: ✏️ add migration guide from v2 to v3 2020-02-03 11:17:16 -03:00
Christian Kaisermann
d9060f15ac docs: ✏️ fix broken links 2020-02-03 11:17:16 -03:00
Christian Kaisermann
4881acb7b3 feat: 🎸 make getClientLocale tree-shakeable
BREAKING CHANGE: It's now needed to explicitly import the `getClientLocale` method to use
its heuristics when setting the initial locale. This makes the method
and its helpers to be tree-shakeable.

```js
import { init, getClientLocale } from 'svelte-i18n'

init({
  initialLocale: getClientLocale({ ... })
})
```
2020-02-03 11:16:55 -03:00
Christian Kaisermann
e1ef5801aa docs: ✏️ update docs 2020-02-03 11:16:54 -03:00
Christian Kaisermann
69ec477ffd docs: ✏️ move docs out of wiki 2020-01-21 10:00:45 -03:00