# 国际化（i18n）现在已成为 Strapi 核心的一部分

> Source: https://strapi.nodejs.cn/cms/migration/v4-to-v5/breaking-changes/i18n-content-manager-locale

国际化（i18n）现在是 Strapi 核心的一部分，而不是插件。发送给内容管理器的 locale 参数在 v4 中从 `plugins[i18n][locale]` 变为 v5 中的 `locale`。

🌐 Internationalization (i18n) is now part of Strapi core instead of a plugin. The locale parameter sent to Content Manager changes from `plugins[i18n][locale]` in v4 to `locale` in v5.

国际化（i18n）现在已经成为 Strapi 核心的一部分，不再是插件，这会影响某些参数的发送和访问方式。这也意味着你不应在项目中使用或依赖旧的 `@strapi/plugin-i18n` 包，它现在已经被原生包含。

🌐 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.

此页面是[重大更改数据库](/cms/migration/v4-to-v5/breaking-changes)的一部分，提供关于重大更改的信息以及从 Strapi v4 迁移到 Strapi 5 的附加说明。

🌐 This page is part of the [breaking changes database](/cms/migration/v4-to-v5/breaking-changes) 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
  - Codemod: [dependency-remove-strapi-plugin-i18n](https://github.com/strapi/strapi/blob/develop/packages/utils/upgrade/resources/codemods/5.0.0/dependency-remove-strapi-plugin-i18n.json.ts)

## 重大变更描述 {#breaking-change-description}

🌐 Breaking change description

**在 Strapi v4 中**

内容管理器在访问本地化时发送以下参数：`plugins[i18n][locale]`。

🌐 Content Manager sends the following parameter when accessing a locale: `plugins[i18n][locale]`.

**在 Strapi 5 中**

发送到内容管理器的参数现在只是 `locale`。

🌐 The parameter sent to the Content Manager is now just `locale`.
