Locale is not preserved for some locales.
Fix default_locale and get_best_locale
-
Fix error in default_locale key
default_locale is a key that preferences has, not usr_prefs. -
Reverted the part of the process that requires path expansion in get_best_locale.
Edited by phoepsilonix