-
Notifications
You must be signed in to change notification settings - Fork 211
/
Copy pathindex.ts
68 lines (65 loc) · 1.39 KB
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
import ar from './compiled/ar.json';
import bg from './compiled/bg.json';
import cs from './compiled/cs.json';
import de from './compiled/de.json';
import el from './compiled/el.json';
import en from './compiled/en.json';
import es from './compiled/es.json';
import fr from './compiled/fr.json';
import hu from './compiled/hu.json';
import id from './compiled/id.json';
import it from './compiled/it.json';
import ja from './compiled/ja.json';
import ko from './compiled/ko.json';
import pl from './compiled/pl.json';
import ptbr from './compiled/pt-br.json';
import ro from './compiled/ro.json';
import ru from './compiled/ru.json';
import sl from './compiled/sl.json';
import tr from './compiled/tr.json';
import zh from './compiled/zh.json';
export const messages: { [key: string]: any } = {
ar,
bg,
cs,
de,
el,
en,
es,
fr,
hu,
id,
it,
ja,
ko,
pl,
'pt-br': ptbr,
ro,
ru,
sl,
tr,
zh,
};
export enum AppLanguage {
Arabic = 'ar',
Bulgarian = 'bg',
Czech = 'cs',
German = 'de',
Greek = 'el',
English = 'en',
Spanish = 'es',
French = 'fr',
Hungarian = 'hu',
Indonesian = 'id',
Italian = 'it',
Japanese = 'ja',
Korean = 'ko',
Polish = 'pl',
PortugueseBrazilian = 'pt-br',
Romanian = 'ro',
Russian = 'ru',
Slovenian = 'sl',
Turkish = 'tr',
ChineseSimplified = 'zh',
}
export const supportedLanguages: String[] = Object.values(AppLanguage);