diff options
Diffstat (limited to 'ext/js/language/language-descriptors.js')
-rw-r--r-- | ext/js/language/language-descriptors.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ext/js/language/language-descriptors.js b/ext/js/language/language-descriptors.js index b5d7573b..2bdc7c7c 100644 --- a/ext/js/language/language-descriptors.js +++ b/ext/js/language/language-descriptors.js @@ -23,6 +23,7 @@ import {japaneseTransforms} from './ja/japanese-transforms.js'; import {isStringPartiallyJapanese} from './ja/japanese.js'; import {removeRussianDiacritics, yoToE} from './ru/russian-text-preprocessors.js'; import {albanianTransforms} from './sq/albanian-transforms.js'; +import {oldIrishTransforms} from './sga/old-irish-transforms.js'; import {capitalizeFirstLetter, decapitalize, removeAlphabeticDiacritics} from './text-preprocessors.js'; const capitalizationPreprocessors = { @@ -167,6 +168,16 @@ const languageDescriptors = [ } }, { + iso: 'sga', + name: 'Old Irish', + exampleText: 'légaid', + textPreprocessors: { + ...capitalizationPreprocessors, + removeAlphabeticDiacritics + }, + languageTransforms: oldIrishTransforms + }, + { iso: 'sh', name: 'Serbo-Croatian', exampleText: 'čitaše', |