Internationalization (i18n) is now part of the strapi core
Internationalization (i18n) is now part of the Strapi core and no longer a plugin, and this impacts how some parameters are sent and accessed. This also means you should not use or depend on the old @strapi/plugin-i18n
package in your project, it is now natively included.
This page is part of the breaking changes database and provides information about the breaking change and additional instructions to migrate from Strapi v4 to Strapi 5.
🔌 Is this breaking change affecting plugins? | Yes |
---|
🤖 Is this breaking change automatically handled by a codemod? | Yes |
---|
Breaking change description
In Strapi v4
Content Manager sends the following parameter when accessing a locale: plugins[i18n][locale]
.
In Strapi 5
The parameter sent to the Content Manager is now just locale
.