mirror of
https://github.com/cupcakearmy/cryptgeon.git
synced 2026-04-02 09:55:23 +00:00
6 lines
222 B
TypeScript
6 lines
222 B
TypeScript
import { getLocaleFromNavigator, init } from 'svelte-intl-precompile'
|
|
// @ts-ignore
|
|
import { registerAll } from '$locales'
|
|
registerAll()
|
|
init({ initialLocale: getLocaleFromNavigator() ?? undefined, fallbackLocale: 'en' })
|