feat(i18n): add Luxembourgish language support (#2671)
This commit is contained in:
@@ -175,6 +175,7 @@ const TMDB_TO_TVDB_MAPPING: Record<string, string> & {
|
||||
it: 'ita', // Italian
|
||||
ja: 'jpn', // Japanese
|
||||
ko: 'kor', // Korean
|
||||
lb: 'ltz', // Luxembourgish
|
||||
lt: 'lit', // Lithuanian
|
||||
nl: 'nld', // Dutch
|
||||
pl: 'pol', // Polish
|
||||
|
||||
1
server/types/languages.d.ts
vendored
1
server/types/languages.d.ts
vendored
@@ -18,6 +18,7 @@ export type AvailableLocale =
|
||||
| 'it'
|
||||
| 'ja'
|
||||
| 'ko'
|
||||
| 'lb'
|
||||
| 'lt'
|
||||
| 'nb-NO'
|
||||
| 'nl'
|
||||
|
||||
@@ -63,6 +63,10 @@ export const availableLanguages: AvailableLanguageObject = {
|
||||
code: 'it',
|
||||
display: 'Italiano',
|
||||
},
|
||||
lb: {
|
||||
code: 'lb',
|
||||
display: 'Lëtzebuergesch',
|
||||
},
|
||||
lt: {
|
||||
code: 'lt',
|
||||
display: 'Lietuvių',
|
||||
|
||||
@@ -65,6 +65,8 @@ const loadLocaleData = (locale: AvailableLocale): Promise<any> => {
|
||||
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':
|
||||
|
||||
Reference in New Issue
Block a user