Add a docstring to regularize_locales