diff --git a/ext/js/language/language-descriptors.js b/ext/js/language/language-descriptors.js index 902d175709..8277cee8bf 100644 --- a/ext/js/language/language-descriptors.js +++ b/ext/js/language/language-descriptors.js @@ -58,6 +58,13 @@ const languageDescriptors = [ removeArabicScriptDiacritics, }, }, + { + iso: 'cs', + iso639_3: 'ces', + name: 'Czech', + exampleText: 'číst', + textPreprocessors: capitalizationPreprocessors, + }, { iso: 'de', iso639_3: 'deu', @@ -84,6 +91,13 @@ const languageDescriptors = [ textPreprocessors: capitalizationPreprocessors, languageTransforms: englishTransforms, }, + { + iso: 'eo', + iso639_3: 'epo', + name: 'Esperanto', + exampleText: 'legi', + textPreprocessors: capitalizationPreprocessors, + }, { iso: 'es', iso639_3: 'spa', @@ -166,6 +180,13 @@ const languageDescriptors = [ name: 'Lao', exampleText: 'ອ່ານ', }, + { + iso: 'lv', + iso639_3: 'lav', + name: 'Latvian', + exampleText: 'lasīt', + textPreprocessors: capitalizationPreprocessors, + }, { iso: 'ja', iso639_3: 'jpn', @@ -182,6 +203,12 @@ const languageDescriptors = [ }, languageTransforms: japaneseTransforms, }, + { + iso: 'kn', + iso639_3: 'kan', + name: 'Kannada', + exampleText: 'ಓದು', + }, { iso: 'km', iso639_3: 'khm', @@ -310,6 +337,13 @@ const languageDescriptors = [ exampleText: 'okuyor', textPreprocessors: capitalizationPreprocessors, }, + { + iso: 'uk', + iso639_3: 'ukr', + name: 'Ukrainian', + exampleText: 'читаєте', + textPreprocessors: capitalizationPreprocessors, + }, { iso: 'vi', iso639_3: 'vie', diff --git a/types/ext/language-descriptors.d.ts b/types/ext/language-descriptors.d.ts index 426da54202..bcb1dfac2b 100644 --- a/types/ext/language-descriptors.d.ts +++ b/types/ext/language-descriptors.d.ts @@ -76,6 +76,9 @@ type AllTextProcessors = { removeArabicScriptDiacritics: TextProcessor; }; }; + cs: { + pre: CapitalizationPreprocessors; + }; de: { pre: CapitalizationPreprocessors & { eszettPreprocessor: BidirectionalConversionPreprocessor; @@ -87,6 +90,9 @@ type AllTextProcessors = { en: { pre: CapitalizationPreprocessors; }; + eo: { + pre: CapitalizationPreprocessors; + }; es: { pre: CapitalizationPreprocessors; }; @@ -117,6 +123,9 @@ type AllTextProcessors = { pre: CapitalizationPreprocessors & AlphabeticDiacriticsProcessor; }; lo: Record; + lv: { + pre: CapitalizationPreprocessors; + }; ja: { pre: { convertHalfWidthCharacters: TextProcessor; @@ -136,6 +145,7 @@ type AllTextProcessors = { }; }; km: Record; + kn: Record; mn: { pre: CapitalizationPreprocessors; }; @@ -178,6 +188,9 @@ type AllTextProcessors = { tr: { pre: CapitalizationPreprocessors; }; + uk: { + pre: CapitalizationPreprocessors; + }; vi: { pre: CapitalizationPreprocessors & { normalizeDiacritics: TextProcessor<'old' | 'new' | 'off'>;