Invalid internationalization middleware configuration
此内容尚不支持你的语言。
InvalidI18nMiddlewareConfiguration: The option
redirectToDefaultLocalecan be enabled only whenprefixDefaultLocaleis also set totrue, otherwise redirects might cause infinite loops. Enable the optionprefixDefaultLocaleto continue to useredirectToDefaultLocale, or ensure both are set tofalse.
What went wrong?
Section titled “What went wrong?”An invalid i18n middleware configuration was detected.
Error Reference