Update available languages

This commit is contained in:
schroda
2025-04-05 13:06:49 +02:00
parent dbd973398d
commit dbf06a54b9

View File

@@ -12,14 +12,27 @@ import LanguageDetector from 'i18next-browser-languagedetector';
import HttpBackend from 'i18next-http-backend';
/**
* Keys have to match {@link ISOLanguages} codes, they're used for showing the language name in the dropdown in the {@link Settings}.<br/>
* In case there is no language code for the key in {@link ISOLanguages}, the corresponding language has to be added
* Keys have to match {@link IsoLanguages} codes, they're used for showing the language name in the dropdown in the {@link Settings}.<br/>
* In case there is no language code for the key in {@link IsoLanguages}, the corresponding language has to be added
*
* **IMPORTANT:**
*
* This is generated by the `i18n:gen-resources` script
*/
export const i18nResources = ['de', 'en', 'es', 'fr', 'pt', 'ru', 'ta', 'tr', 'vi', 'zh_Hans', 'zh_Hant'] as const;
export const i18nResources = [
'de',
'en',
'es',
'fr',
'pl',
'pt',
'ru',
'ta',
'tr',
'vi',
'zh_Hans',
'zh_Hant',
] as const;
export type I18nResourceCode = (typeof i18nResources)[number];