update svelte kit

This commit is contained in:
2022-09-12 17:05:54 +02:00
parent 9bb6704f54
commit cb90109887
8 changed files with 126 additions and 41 deletions

View File

@@ -0,0 +1,5 @@
import { getLocaleFromNavigator, init } from 'svelte-intl-precompile'
// @ts-ignore
import { registerAll } from '$locales'
registerAll()
init({ initialLocale: getLocaleFromNavigator() ?? undefined, fallbackLocale: 'en' })