add Icelandic and Czech transliteration, fix 2388

This commit is contained in:
vanous 2021-09-07 21:49:54 +02:00
parent b99da8b596
commit 27e2197c30
1 changed files with 7 additions and 0 deletions

View File

@ -108,6 +108,13 @@ public class LanguageUtils {
put('Ö', "O"); put('Õ', "O");
put('ü', "u"); put('Ü', "U");
// Icelandic
put('Þ',"Th"); put('þ',"th"); put('Ð',"D"); put('ð',"d");
// Czech
put('ř',"r"); put('ě',"e"); put('ý',"y"); put('á',"a"); put('í',"i"); put('é',"e");
put('ó',"o"); put('ú',"u"); put('ů',"u"); put('ď',"d"); put('ť',"t"); put('ň',"n");
//TODO: these must be configurable. If someone wants to transliterate cyrillic it does not mean his device has no German umlauts
// all or nothing is really bad here
}