Skip to content

Commit

Permalink
Add Language Code Map
Browse files Browse the repository at this point in the history
  • Loading branch information
brdlyptrs committed Jun 15, 2020
1 parent 7b4f5e5 commit da1a56d
Show file tree
Hide file tree
Showing 4 changed files with 119 additions and 75 deletions.
74 changes: 0 additions & 74 deletions languages/iw.json

This file was deleted.

File renamed without changes.
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,10 @@
"homepage": "https://github.com/hCaptcha/hcaptcha-i18n#readme",
"dependencies": {
"require-directory": "^2.1.1"
}
},
"files": [
"index.js",
"languages/",
"src/"
]
}
113 changes: 113 additions & 0 deletions src/translation_codes.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
{
"af" : "Afrikaans",
"sq" : "Albanian",
"am" : "Amharic",
"sq" : "Arabic",
"hy" : "Armenian",
"az" : "Azerbaijani",
"eu" : "Basque",
"be" : "Belarusian",
"bn" : "Bengali",
"bg" : "Bulgarian",
"bs" : "Bosnian",
"my" : "Burmese",
"ca" : "Catalan",
"ceb" : "Cebuano",
"zh" : "Chinese",
"zh-CN" : "Chinese_PRC",
"zh-TW" : "Chinese_Taiwan",
"co" : "Corsican",
"hr" : "Croatian",
"cs" : "Czech",
"da" : "Danish",
"nl" : "Dutch",
"eo" : "Esperanto",
"et" : "Estonian",
"fa" : "Farsi",
"fi" : "Finnish",
"fr" : "French",
"fy" : "Frisian",
"gd" : "Gaelic",
"gl" : "Galacian",
"ka" : "Georgian",
"de" : "German",
"el" : "Greek",
"gu" : "Gujurati",
"ht" : "Haitian",
"ha" : "Hausa",
"haw" : "Hawaiian",
"he" : "Hebrew", // Why TWO?
"iw" : "Hebrew",
"hi" : "Hindi",
"hmn" : "Hmong",
"hu" : "Hungarian",
"is" : "Icelandic",
"ig" : "Igbo",
"id" : "Indonesian",
"ga" : "Irish",
"it" : "Italian",
"ja" : "Japanese",
"jv" : "Javanese",
"kn" : "Kannada",
"kk" : "Kazakh",
"km" : "Khmer",
"rw" : "Kinyarwanda",
"ky" : "Kirghiz",
"ko" : "Korean",
"ku" : "Kurdish",
"lo" : "Lao",
"la" : "Latin",
"lv" : "Latvian",
"lt" : "Lithuanian",
"lb" : "Luxembourgish",
"mk" : "Macedonian",
"mg" : "Malagasy",
"ms" : "Malay",
"ml" : "Malayalam",
"mt" : "Maltese",
"mi" : "Maori",
"mr" : "Marathi",
"mn" : "Mongolian",
"ne" : "Nepali",
"no" : "Norwegian",
"ny" : "Nyanja",
"or" : "Oriya",
"fa" : "Persian",
"pl" : "Polish",
"pt" : "Portuguese",
"ps" : "Pashto",
"pa" : "Punjabi",
"ro" : "Romanian",
"ru" : "Russian",
"sm" : "Samoan",
"sn" : "Shona",
"sd" : "Sindhi",
"si" : "Singhalese",
"sr" : "Serbian",
"sk" : "Slovak",
"sl" : "Slovenian",
"so" : "Somani",
"st" : "Sotho_Southern",
"es" : "Spanish",
"su" : "Sundanese",
"sw" : "Swahili",
"sv" : "Swedish",
"tl" : "Tagalog",
"tg" : "Tajik",
"ta" : "Tamil",
"tt" : "Tatar",
"te" : "Teluga",
"th" : "Thai",
"tr" : "Turkish",
"tk" : "Turkmen",
"ug" : "Uyghur",
"uk" : "Ukrainian",
"ur" : "Urdu",
"uz" : "Uzbek",
"vi" : "Vietnamese",
"cy" : "Welsh",
"xh" : "Xhosa",
"yi" : "Yiddish",
"yo" : "Yoruba",
"zu" : "Zulu"
};

0 comments on commit da1a56d

Please sign in to comment.