Fix bug where the default locale wasn't being used