Commit Graph

9 Commits

Author SHA1 Message Date
Pig Fang
d082d0e25d docs: fix markdown 2021-03-22 09:46:42 -03:00
Lev Chelyadinov
0dec146add
docs: fix a broken link in the Methods docs page (#127) 2021-02-04 20:00:38 -03:00
Christian Kaisermann
75227ba11b
Update Methods.md 2020-02-03 22:55:37 -03:00
Christian Kaisermann
08eb1554f3 docs: ✏️ add TOCs to some docs 2020-02-03 13:47:36 -03:00
Christian Kaisermann
6b0ba2b902 refactor: 💡 split getClientLocale into multiple utilities 2020-02-03 13:33:03 -03:00
Christian Kaisermann
2d147ef82d docs: ✏️ fix broken links 2020-02-03 11:24:50 -03:00
Christian Kaisermann
31b556bc3f 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:24:50 -03:00
Christian Kaisermann
bd3057ba2d docs: ✏️ update docs 2020-02-03 11:24:50 -03:00
Christian Kaisermann
69ec477ffd docs: ✏️ move docs out of wiki 2020-01-21 10:00:45 -03:00