From dccdc9592786f85d33b061b04578ee8c240bbf8c Mon Sep 17 00:00:00 2001 From: 0xsysr3ll <31414959+0xSysR3ll@users.noreply.github.com> Date: Thu, 12 Mar 2026 15:07:58 +0100 Subject: [PATCH] feat(i18n): add Luxembourgish language support (#2671) --- server/api/tvdb/interfaces.ts | 1 + server/types/languages.d.ts | 1 + src/context/LanguageContext.tsx | 4 ++++ src/pages/_app.tsx | 2 ++ 4 files changed, 8 insertions(+) diff --git a/server/api/tvdb/interfaces.ts b/server/api/tvdb/interfaces.ts index 502e3b51..4f3ac70f 100644 --- a/server/api/tvdb/interfaces.ts +++ b/server/api/tvdb/interfaces.ts @@ -175,6 +175,7 @@ const TMDB_TO_TVDB_MAPPING: Record & { it: 'ita', // Italian ja: 'jpn', // Japanese ko: 'kor', // Korean + lb: 'ltz', // Luxembourgish lt: 'lit', // Lithuanian nl: 'nld', // Dutch pl: 'pol', // Polish diff --git a/server/types/languages.d.ts b/server/types/languages.d.ts index 9d7f6859..63b7a58d 100644 --- a/server/types/languages.d.ts +++ b/server/types/languages.d.ts @@ -18,6 +18,7 @@ export type AvailableLocale = | 'it' | 'ja' | 'ko' + | 'lb' | 'lt' | 'nb-NO' | 'nl' diff --git a/src/context/LanguageContext.tsx b/src/context/LanguageContext.tsx index d357fe85..1c668a5d 100644 --- a/src/context/LanguageContext.tsx +++ b/src/context/LanguageContext.tsx @@ -63,6 +63,10 @@ export const availableLanguages: AvailableLanguageObject = { code: 'it', display: 'Italiano', }, + lb: { + code: 'lb', + display: 'Lëtzebuergesch', + }, lt: { code: 'lt', display: 'Lietuvių', diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx index 315075ec..6d66ff6b 100644 --- a/src/pages/_app.tsx +++ b/src/pages/_app.tsx @@ -65,6 +65,8 @@ const loadLocaleData = (locale: AvailableLocale): Promise => { return import('../i18n/locale/ja.json'); case 'ko': return import('../i18n/locale/ko.json'); + case 'lb': + return import('../i18n/locale/lb.json'); case 'lt': return import('../i18n/locale/lt.json'); case 'nb-NO':