Set enforce_available_locales for i18n to avoid deprecation warning.