From b4cd23b27ef79523218b2983e1c9eb829563a344 Mon Sep 17 00:00:00 2001 From: wayneshn Date: Mon, 23 Feb 2026 14:05:51 +0100 Subject: [PATCH] Update Bulgarian language setting, register language --- packages/frontend/src/lib/translations/index.ts | 7 +++++++ .../src/routes/dashboard/settings/system/+page.svelte | 1 + 2 files changed, 8 insertions(+) diff --git a/packages/frontend/src/lib/translations/index.ts b/packages/frontend/src/lib/translations/index.ts index 3b7daad..46b1bcc 100644 --- a/packages/frontend/src/lib/translations/index.ts +++ b/packages/frontend/src/lib/translations/index.ts @@ -12,6 +12,7 @@ import nl from './nl.json'; import ja from './ja.json'; import et from './et.json'; import el from './el.json'; +import bg from './bg.json' // This is your config object. // It defines the languages and how to load them. const config: Config = { @@ -77,6 +78,12 @@ const config: Config = { key: 'app', loader: async () => el.app, }, + // Bulgarian 🇧🇬 + { + locale: 'bg', + key: 'app', + loader: async () => bg.app, + }, ], fallbackLocale: 'en', }; diff --git a/packages/frontend/src/routes/dashboard/settings/system/+page.svelte b/packages/frontend/src/routes/dashboard/settings/system/+page.svelte index c94bc53..7ccc904 100644 --- a/packages/frontend/src/routes/dashboard/settings/system/+page.svelte +++ b/packages/frontend/src/routes/dashboard/settings/system/+page.svelte @@ -24,6 +24,7 @@ { value: 'pt', label: '🇵🇹 Português' }, { value: 'nl', label: '🇳🇱 Nederlands' }, { value: 'el', label: '🇬🇷 Ελληνικά' }, + { value: 'bg', label: '🇧🇬 български' }, { value: 'ja', label: '🇯🇵 日本語' }, ];