Normalize the locale names when testing i18n features

The locales weren't named in a consistent fashion, which makes it a pain
when generating them for automatic testing.
This patch renames the locales consistently, although I'm not sure for
the ISO variant.

It will be shipped with the Debian package.