From 6e67935b590aadf08f392fa2a9cb7e61c1765cd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Fri, 6 Nov 2015 00:24:50 +0100 Subject: [PATCH] add more languages to iso639-1 dict --- gallery_dl/iso639_1.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gallery_dl/iso639_1.py b/gallery_dl/iso639_1.py index 5e690dd3..8d829b36 100644 --- a/gallery_dl/iso639_1.py +++ b/gallery_dl/iso639_1.py @@ -21,22 +21,31 @@ def language_to_code(lang, default="en"): return default codes = { + "ar": "Arabic", "cs": "Czech", "da": "Danish", "de": "German", + "el": "Greek", "en": "English", "es": "Spanish", "fi": "Finnish", "fr": "French", + "he": "Hebrew", + "hu": "Hungarian", + "id": "Indonesian", "it": "Italian", "jp": "Japanese", "ko": "Korean", + "ms": "Malay", "nl": "Dutch", "no": "Norwegian", "pl": "Polish", "pt": "Portuguese", + "ro": "Romanian", "ru": "Russian", "sv": "Swedish", + "th": "Thai", + "tr": "Turkish", "vi": "Vietnamese", "zh": "Chinese", }