mirror of
https://github.com/cupcakearmy/svelte-i18n.git
synced 2024-10-06 02:54:49 +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({ ... }) }) ``` |
||
---|---|---|
.. | ||
dictionary.test.ts | ||
format.test.ts | ||
locale.test.ts |