mirror of
https://github.com/cupcakearmy/svelte-i18n.git
synced 2024-07-07 06:04:47 +02:00
4881acb7b3
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 | ||
client/stores | ||
fixtures | ||
runtime |