more fixes for localization, including a default locale