add i18n config for enforce_available_locales; closes #573