Fix locale when using country codes.