summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/librccui.c2
-rw-r--r--ui/rccnames.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/ui/librccui.c b/ui/librccui.c
index 17e7281..1979899 100644
--- a/ui/librccui.c
+++ b/ui/librccui.c
@@ -219,7 +219,7 @@ int rccUiInit() {
else icnv = rccIConvOpen(ctype_charset, "UTF-8");
}
- if (!rccLocaleGetLanguage(locale, "LANGUAGE", 32)) {
+ if (!rccLocaleGetLanguage(locale, "LC_MESSAGES", 32)) {
search[0] = strdup(locale);
if (!search[0]) goto clean;
lpos = strrchr(search[0], '@');
diff --git a/ui/rccnames.c b/ui/rccnames.c
index 7f4f912..3a8ade1 100644
--- a/ui/rccnames.c
+++ b/ui/rccnames.c
@@ -26,6 +26,8 @@ rcc_name rcc_default_language_names_embeded[RCC_MAX_LANGUAGES+1] = {
{"sk","Slovak"},
{"sl","Slovenian"},
{"zh","Chinese"},
+{"ko","Korean"},
+{"ja","Japanese"},
{NULL, NULL}
};