Skip to content

Instantly share code, notes, and snippets.

@Kaisarion
Created March 13, 2021 18:21
Show Gist options
  • Save Kaisarion/4c11268da5f6e2d8ad9cce191333e38d to your computer and use it in GitHub Desktop.
Save Kaisarion/4c11268da5f6e2d8ad9cce191333e38d to your computer and use it in GitHub Desktop.
A simple language map in JavaScript.
module.exports = lng = [
{ "name": "afrikaans", "abrv": "af" },
{ "name": "albanian", "abrv": "sq", },
{ "name": "arabic", "abrv": "ar", },
{ "name": "armenian", "abrv": "hy" },
{ "name": "bengali", "abrv": "bn", },
{ "name": "bulgarian", "abrv": "bg", },
{ "name": "catalan", "abrv": "ca", },
{ "name": "chinese (simplified)", "abrv": "zh-cn", },
{ "name": "chinese (traditional)", "abrv": "zh-tw", },
{ "name": "croatian", "abrv": "hr", },
{ "name": "czech", "abrv": "cs" },
{ "name": "danish", "abrv": "da", },
{ "name": "dutch", "abrv": "nl", },
{ "name": "english", "abrv": "en", },
{ "name": "finnish", "abrv": "fi", },
{ "name": "french", "abrv": "fr", },
{ "name": "german", "abrv": "de", },
{ "name": "greek", "abrv": "el", },
{ "name": "haitian", "abrv": "ht", },
{ "name": "hebrew", "abrv": "iw", },
{ "name": "hungarian", "abrv": "hu", },
{ "name": "icelandic", "abrv": "is", },
{ "name": "indonesian", "abrv": "id", },
{ "name": "irish", "abrv": "ga", },
{ "name": "italian", "abrv": "it", },
{ "name": "japanese", "abrv": "ja", },
{ "name": "korean", "abrv": "ko", },
{ "name": "kurdish", "abrv": "ku", },
{ "name": "lao", "abrv": "lo", },
{ "name": "latin", "abrv": "la", },
{ "name": "malay", "abrv": "ms", },
{ "name": "mongolian", "abrv": "mn", },
{ "name": "nepali", "abrv": "ne", },
{ "name": "norwegian", "abrv": "no", },
{ "name": "persian", "abrv": "fa", },
{ "name": "polish", "abrv": "pl", },
{ "name": "portuguese", "abrv": "pt", },
{ "name": "punjabi", "abrv": "pa", },
{ "name": "romanian", "abrv": "ro", },
{ "name": "russian", "abrv": "ru", },
{ "name": "serbian", "abrv": "sr", },
{ "name": "spanish", "abrv": "es", },
{ "name": "swahili", "abrv": "sw", },
{ "name": "swedish", "abrv": "sv", },
{ "name": "thai", "abrv": "th", },
{ "name": "turkish", "abrv": "tr", },
{ "name": "ukrainian", "abrv": "uk", },
{ "name": "vietnamese", "abrv": "vi", },
{ "name": "welsh", "abrv": "cy", },
{ "name": "yiddish", "abrv": "yi", },
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment