Skip to content

Commit

Permalink
Add new language codes and names
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuuuube committed May 30, 2024
1 parent 64daa56 commit c9fc132
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jmdict_constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ var langCodeToName = map[LangCode]string{
LangCode{"eng", "kor"}: "Korean",
LangCode{"eng", "kur"}: "Kurdish",
LangCode{"eng", "lat"}: "Latin",
LangCode{"eng", "lit"}: "Lithuanian",
LangCode{"eng", "mal"}: "Malayalam",
LangCode{"eng", "mao"}: "Maori",
LangCode{"eng", "may"}: "Malay",
Expand Down Expand Up @@ -142,6 +143,7 @@ var langCodeToName = map[LangCode]string{
LangCode{"eng", "tur"}: "Turkish",
LangCode{"eng", "ukr"}: "Ukrainian",
LangCode{"eng", "urd"}: "Urdu",
LangCode{"eng", "uzb"}: "Uzbek",
LangCode{"eng", "vie"}: "Vietnamese",
LangCode{"eng", "yid"}: "Yiddish",
}
Expand Down Expand Up @@ -186,6 +188,7 @@ var ISOtoHTML = map[string]string{
"kor": "ko", // Korean
"kur": "ku", // Kurdish
"lat": "la", // Latin
"lit": "lt", // Latin
"mal": "ml", // Malayalam
"mao": "mi", // Maori
"may": "ms", // Malay
Expand Down Expand Up @@ -214,6 +217,7 @@ var ISOtoHTML = map[string]string{
"tur": "tr", // Turkish
"ukr": "uk", // Ukrainian
"urd": "ur", // Urdu
"uzb": "uz", // Uzbek
"vie": "vi", // Vietnamese
"yid": "yi", // Yiddish
}

0 comments on commit c9fc132

Please sign in to comment.