mirror of
https://github.com/cupcakearmy/svelte-i18n.git
synced 2024-11-16 18:10:43 +01:00
6d557a98fc
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({ ... }) }) ``` |
||
---|---|---|
.. | ||
CLI.md | ||
Dictionary.md | ||
FAQ.md | ||
Formatting.md | ||
Getting Started.md | ||
Locale.md | ||
Methods.md | ||
Migration.md |