186c2bcfef
Default arguments of locale.getdefaultlocale() consider the value of LC_CTYPE in addition to the three aforementioned all-category variables, which under certain conditions (LC_CTYPE set, LC_ALL and the rest of LC_FOO unset) would result in the locale set in LC_CTYPE (which should only affect interpretation of byte sequences as characters) spilling over to other locale categories handled by the GrampsLocale object. The most visible effect of that spill was that with LC_ALL, LANG, LANGUAGE and LC_MESSAGES unset but LC_CTYPE set, Gramps would start using the wrong UI language.