@@ -4,13 +4,18 @@ import { DevTools, FormatSimple, LanguageDetector, Tolgee } from '@tolgee/svelte
44import { browser } from '$app/environment' ;
55import { PUBLIC_TOLGEE_API_KEY , PUBLIC_TOLGEE_API_URL } from '$env/static/public' ;
66
7- import deCommon from '../i18n/common/de.json' ;
87import enCommon from '../i18n/common/en.json' ;
9- import frCommon from '../i18n/common/fr.json' ;
8+ import deCommon from '../i18n/common/de.json' ;
9+ import esCommon from '../i18n/common/es.json' ;
10+ import huCommon from '../i18n/common/hu.json' ;
1011import itCommon from '../i18n/common/it.json' ;
12+ import koCommon from '../i18n/common/ko.json' ;
13+ import frCommon from '../i18n/common/fr.json' ;
1114import lvCommon from '../i18n/common/lv.json' ;
1215import mtCommon from '../i18n/common/mt.json' ;
1316import nlCommon from '../i18n/common/nl.json' ;
17+ import ptBrCommon from '../i18n/common/pt-BR.json' ;
18+ import plCommon from '../i18n/common/pl.json' ;
1419import ruCommon from '../i18n/common/ru.json' ;
1520import zhHansCommon from '../i18n/common/zh-Hans.json' ;
1621import zhHantCommon from '../i18n/common/zh-Hant.json' ;
@@ -35,14 +40,20 @@ export const load: LayoutLoad = async ({ fetch }) => {
3540 apiUrl : browser ? PUBLIC_TOLGEE_API_URL : undefined ,
3641 apiKey : browser ? PUBLIC_TOLGEE_API_KEY : undefined ,
3742
43+ // Be sure to also update TranslationDropdown.svelte when adding entries here
3844 staticData : {
39- 'de:common' : deCommon ,
4045 'en:common' : enCommon ,
46+ 'de:common' : deCommon ,
47+ 'es:common' : esCommon ,
4148 'fr:common' : frCommon ,
49+ 'hu:common' : huCommon ,
4250 'it:common' : itCommon ,
51+ 'ko:common' : koCommon ,
4352 'lv:common' : lvCommon ,
4453 'mt:common' : mtCommon ,
4554 'nl:common' : nlCommon ,
55+ 'pt-BR:common' : ptBrCommon ,
56+ 'pl:common' : plCommon ,
4657 'ru:common' : ruCommon ,
4758 'zh-Hans:common' : zhHansCommon ,
4859 'zh-Hant:common' : zhHantCommon
0 commit comments