-
Notifications
You must be signed in to change notification settings - Fork 0
/
LangCodes.scala
43 lines (43 loc) · 999 Bytes
/
LangCodes.scala
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
object LangCodes {
val Codes = Map(
"af" -> "afrikaans",
"bg" -> "bulgarian",
"br" -> "breton",
"ca" -> "catalan",
"cs" -> "czech",
"cy" -> "welsh",
"da" -> "danish",
"de" -> "german",
"el" -> "greek",
"en" -> "english",
"eo" -> "esperanto",
"es" -> "spanish",
"et" -> "estonian",
"eu" -> "basque",
"fi" -> "finnish",
"fr" -> "french",
"ga" -> "irish",
"gd" -> "scottish gaelic",
"gl" -> "galician",
"he" -> "hebrew",
"hr" -> "croatian",
"ia" -> "interlingua",
"id" -> "bahasa",
"is" -> "icelandic",
"it" -> "italian",
"la" -> "latin",
"nl" -> "dutch",
"no" -> "norwegian",
"pl" -> "polish",
"pt" -> "portuguese",
"ro" -> "romanian",
"ru" -> "russian",
"se" -> "north sami",
"sk" -> "slovakian",
"sl" -> "slovenian",
"sr" -> "serbian",
"sv" -> "swedish",
"tr" -> "turkish",
"uk" -> "ukrainian")
}
//Codes map {case(a,b) => (a.toLowerCase,b)}