mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 10:42:34 +01:00
add more languages to iso639-1 dict
This commit is contained in:
parent
6ed26864ea
commit
6e67935b59
@ -21,22 +21,31 @@ def language_to_code(lang, default="en"):
|
|||||||
return default
|
return default
|
||||||
|
|
||||||
codes = {
|
codes = {
|
||||||
|
"ar": "Arabic",
|
||||||
"cs": "Czech",
|
"cs": "Czech",
|
||||||
"da": "Danish",
|
"da": "Danish",
|
||||||
"de": "German",
|
"de": "German",
|
||||||
|
"el": "Greek",
|
||||||
"en": "English",
|
"en": "English",
|
||||||
"es": "Spanish",
|
"es": "Spanish",
|
||||||
"fi": "Finnish",
|
"fi": "Finnish",
|
||||||
"fr": "French",
|
"fr": "French",
|
||||||
|
"he": "Hebrew",
|
||||||
|
"hu": "Hungarian",
|
||||||
|
"id": "Indonesian",
|
||||||
"it": "Italian",
|
"it": "Italian",
|
||||||
"jp": "Japanese",
|
"jp": "Japanese",
|
||||||
"ko": "Korean",
|
"ko": "Korean",
|
||||||
|
"ms": "Malay",
|
||||||
"nl": "Dutch",
|
"nl": "Dutch",
|
||||||
"no": "Norwegian",
|
"no": "Norwegian",
|
||||||
"pl": "Polish",
|
"pl": "Polish",
|
||||||
"pt": "Portuguese",
|
"pt": "Portuguese",
|
||||||
|
"ro": "Romanian",
|
||||||
"ru": "Russian",
|
"ru": "Russian",
|
||||||
"sv": "Swedish",
|
"sv": "Swedish",
|
||||||
|
"th": "Thai",
|
||||||
|
"tr": "Turkish",
|
||||||
"vi": "Vietnamese",
|
"vi": "Vietnamese",
|
||||||
"zh": "Chinese",
|
"zh": "Chinese",
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user