start localization

This commit is contained in:
vcoppe
2024-04-24 16:12:50 +02:00
parent 9bde53a4e2
commit 78b7612171
14 changed files with 1001 additions and 94 deletions

View File

@@ -0,0 +1,10 @@
export const prerender = true;
import { register, init } from 'svelte-i18n';
register('en', () => import('../locales/en.json'));
init({
fallbackLocale: 'en',
initialLocale: 'en',
});