-
Notifications
You must be signed in to change notification settings - Fork 8
/
language.go
58 lines (53 loc) · 1.74 KB
/
language.go
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
package deepl
// Supported languages
const (
Arabic Language = "AR"
Bulgarian Language = "BG"
ChineseSimplified Language = "ZH-HANS"
ChineseTraditional Language = "ZH-HANT"
Czech Language = "CS"
Danish Language = "DA"
Dutch Language = "NL"
EnglishAmerican Language = "EN-US"
EnglishBritish Language = "EN-GB"
Estonian Language = "ET"
Finnish Language = "FI"
French Language = "FR"
German Language = "DE"
Greek Language = "EL"
Hungarian Language = "HU"
Indonesian Language = "ID"
Italian Language = "IT"
Japanese Language = "JA"
Korean Language = "KO"
Latvian Language = "LV"
Lithuanian Language = "LT"
NorwegianBokmal Language = "NB"
Polish Language = "PL"
PortugueseBrazil Language = "PT-BR"
PortuguesePortugal Language = "PT-PT"
Romanian Language = "RO"
Russian Language = "RU"
Slovak Language = "SK"
Slovenian Language = "SL"
Spanish Language = "ES"
Swedish Language = "SV"
Turkish Language = "TR"
Ukrainian Language = "UK"
)
const (
// English (unspecified).
//
// Don't use this as a target language. Use EnglishAmerican or EnglishBritish instead.
English Language = "EN"
// Portuguese (unspecified).
//
// Don't use this as a target language. Use PortugueseBrazil or PortuguesePortugal instead.
Portuguese Language = "PT"
// Chinese (unspecified).
//
// Don't use this as a target language. Use ChineseSimplified or ChineseTraditional instead.
Chinese Language = "ZH"
)
// Language is a deepl language code.
type Language string