From 6022cecad1ff4e3503ecacc331ca2d33e1b9739d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Cort=C3=A9z?= Date: Wed, 23 Sep 2015 10:01:22 -0500 Subject: [PATCH] Added japanese, croatian and serbian --- src/languageHandler.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/languageHandler.py b/src/languageHandler.py index 334213f8..00c607e0 100644 --- a/src/languageHandler.py +++ b/src/languageHandler.py @@ -69,6 +69,7 @@ def getLanguageDescription(language): "ar":pgettext("languageName","Arabic"), "ne":pgettext("languageName","Nepali"), "sr":pgettext("languageName","Serbian (Latin)"), + "ja":pgettext("languageName","Japanese"), }.get(language,None) return desc @@ -195,10 +196,13 @@ def langToWindowsLocale(lang): "gl": "glc", "eu": "euq", "hu": "hun", + "hr": "hrv", "it": "ita", + "ja": "jpn", "pl": "plk", "pt": "ptb", "ru": "rus", - "tr": "trk" + "tr": "trk", + "sr": "eng", } return languages[lang]