[PATCH] Identify language and country based on LC_MESSAGES rather than LC_CTYPE