Update available languages
This commit is contained in:
@@ -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];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user