Installs and configures locales.