Currently we rely on the LANGUAGE environment variable to get the default UI language (if not set by the user). This is standard on Linux, but not on Windows; there, if LANGUAGE is not set, we should fallback to WinAPI. See get_default_languages() in gui_localizer.cpp.