- // I'd rather have an Assert on str, we should not allow
- // null pointers here. Lgb
- // Assert(str);
- if (str && str[0])
- return gettext(str);
- else
- return "";
+ // Disable, as otherwise it overrides everything else incl. the doc language
+ setEnv("LANGUAGE", "");
+# ifdef HAVE_LC_MESSAGES
+ setlocale(LC_MESSAGES, "");
+# endif
+ setlocale(LC_CTYPE, "");
+ setlocale(LC_NUMERIC, "C");