2024-01-02 13:53:21 +01:00
|
|
|
class LanguageUtils {
|
|
|
|
static Map<String, String> tessLanguages = {
|
|
|
|
'Auto': 'auto',
|
|
|
|
'English': 'eng',
|
|
|
|
'German': 'deu',
|
|
|
|
'French': 'fra',
|
|
|
|
'Russian': 'rus',
|
|
|
|
};
|
|
|
|
|
|
|
|
static Map<String, String> translatorLanguages = {
|
|
|
|
'English': 'en',
|
2024-01-10 23:39:33 +01:00
|
|
|
'Auto': 'auto',
|
2024-01-02 13:53:21 +01:00
|
|
|
'German': 'de',
|
|
|
|
'French': 'fr',
|
2024-01-10 23:39:33 +01:00
|
|
|
'Russian': 'ru',
|
|
|
|
};
|
|
|
|
|
|
|
|
static Map<String, String> reMapping = {
|
|
|
|
'deu': 'de',
|
|
|
|
'eng': 'en',
|
|
|
|
'fra': 'fr',
|
|
|
|
'rus': 'ru',
|
2024-01-02 13:53:21 +01:00
|
|
|
};
|
|
|
|
}
|