diff --git a/src/i18n.c b/src/i18n.c index 9dbffb3e3..b98c7aea1 100644 --- a/src/i18n.c +++ b/src/i18n.c @@ -853,10 +853,10 @@ static const char *locale_to_closest_locale(const char *inlocale) } } - /* locale must match at least three characters */ - if (outlocale_score < 3) + /* locale must match at least two characters */ + if (outlocale_score < 2) { - outlocale = NULL; + outlocale = ""; } return outlocale;