25 lines
460 B
Dart
25 lines
460 B
Dart
class LanguageUtils {
|
|
static Map<String, String> tessLanguages = {
|
|
'Auto': 'auto',
|
|
'English': 'eng',
|
|
'German': 'deu',
|
|
'French': 'fra',
|
|
'Russian': 'rus',
|
|
};
|
|
|
|
static Map<String, String> translatorLanguages = {
|
|
'English': 'en',
|
|
'Auto': 'auto',
|
|
'German': 'de',
|
|
'French': 'fr',
|
|
'Russian': 'ru',
|
|
};
|
|
|
|
static Map<String, String> reMapping = {
|
|
'deu': 'de',
|
|
'eng': 'en',
|
|
'fra': 'fr',
|
|
'rus': 'ru',
|
|
};
|
|
}
|