diff --git a/src/gexecute.cpp b/src/gexecute.cpp index 6292ba74fd..e7cefc6151 100644 --- a/src/gexecute.cpp +++ b/src/gexecute.cpp @@ -128,6 +128,8 @@ std::pair DoExecuteGettextImpl(const wxString& cmdline_) env.env["OUTPUT_CHARSET"] = "UTF-8"; wxString lang = wxTranslations::Get()->GetBestTranslation("gettext-tools"); + if ( lang.starts_with("en@") ) + lang = "en"; // don't want things like en@blockquot if ( !lang.empty() ) env.env["LANG"] = lang; #endif // __WXOSX__ || __WXMSW__