svelte-i18n
Advanced tools
Changelog
3.0.1 (2020-02-03)
getClientLocale
method to use
its heuristics when setting the initial locale. This makes the method
and its helpers to be tree-shakeable.import { init, getClientLocale } from 'svelte-i18n'
init({
initialLocale: getClientLocale({ ... })
})
import { time, date, number } from 'svelte-i18n'
Changelog
3.0.0 (2020-02-03)
getClientLocale
method to use
its heuristics when setting the initial locale. This makes the method
and its helpers to be tree-shakeable.import { init, getClientLocale } from 'svelte-i18n'
init({
initialLocale: getClientLocale({ ... })
})
import { time, date, number } from 'svelte-i18n'