Enable locales before generating them, when required.
Add support for setting the locale on arch linux.