]> sjero.net Git - linphone/blobdiff - gtk/main.c
update translation files(de,he,ru) and fix the language choice for linux
[linphone] / gtk / main.c
index 973f7afe66f7268f8ed9c3a5a225ed56136f7641..2f572849139b6574ab648bd0e2c2154021f588f5 100644 (file)
@@ -1787,8 +1787,10 @@ int main(int argc, char *argv[]){
                if (strncmp(lang,"zh",2)==0){
                        workaround_gtk_entry_chinese_bug=TRUE;
                }
-#else
+#elif __APPLE__
                setenv("LANG",lang,1);
+#else
+               setenv("LANGUAGE",lang,1);
 #endif
        }