Set the locales.