mirror of
https://github.com/cupcakearmy/svelte-i18n.git
synced 2024-11-16 09:59:58 +01:00
31b556bc3f
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 |