make sure the localize locale is set