-
Notifications
You must be signed in to change notification settings - Fork 8
/
language.go
46 lines (42 loc) · 1.31 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
package deepl
// Supported languages
const (
Bulgarian = Language("BG")
Chinese = Language("ZH")
Czech = Language("CZ")
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")
Italian = Language("IT")
Japanese = Language("JA")
Latvian = Language("LV")
Lithuanian = Language("LT")
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")
)
const (
// English (unspecified).
//
// Deprecated: use EnglishAmerican or EnglishBritish instead.
English = Language("EN")
// Portuguese (unspecified).
//
// Deprecated: use PortugueseBrazil or PortuguesePortugal instead.
Portuguese = Language("PT")
)
// Language is a deepl language code.
type Language string