Internationalization and Draft & Publish changes in Strapi 5

Strapi 5 moves internationalization into core, changes the locale parameter, drops locale=all and replaces publicationState with status. This page shows what to change in code and queries, and what drives the effort.

On this page

What Strapi 5 changes for multilingual and staged content

Strapi 5 moves internationalization into core, changes how locale=all returns localized entries, and replaces publicationState with status. If your v4 project has localized content and draft and publish queries, these three changes touch server code, front-end requests and any scripts that read content. Start by listing every place your code sends a locale value or filters on publicationState, because those are the points where behavior changes. The @strapi/plugin-i18n package should be removed from the project once i18n is handled by core, so check package.json and plugin configuration for it during the upgrade.

The locale=all change matters most for front ends and caches. Strapi 5 no longer returns every localized version of an entry in one response, so each locale has to be requested individually. A page that once fetched all languages in a single call will now make one request per locale, which affects latency, rate limits and cache keys. Ask your front-end team to inventory each query, confirm the locale list your site serves, and decide how the extra requests will be cached. Confirm the exact status values your version accepts against the Strapi documentation before rewriting filters.

The supported path from v4 is the v4 to v5 upgrade tool, which applies codemods to your code and runs data migration scripts on the first start of Strapi 5. Strapi's guidance is to back up the database before starting, because downgrading is not supported, so a restore from backup is the only way back. Strapi v4 reached end of life on April 30, 2026, so the upgrade is now a planning item rather than an optional one. Read the Strapi v4 to v5 migration introduction and FAQ before scheduling the work, and test the i18n and status changes on a copy of production data first.

Which i18n and status changes affect your code

This table compares four Strapi 5 changes covering internationalization and draft and publish, with the impact of each on existing code and the action to take. Read each row against your current v4 code, and treat the query shapes as something to confirm against the Strapi breaking change pages before you rewrite anything.

ChangeImpactAction needed
@strapi/plugin-i18n removed in favor of coreProjects that install or register the i18n plugin package conflict with the built-in internationalization in Strapi 5 core.Remove the @strapi/plugin-i18n dependency and its registration, then confirm the core i18n setup in your content types.
Content Manager locale parameterRequests that pass the locale parameter under its v4 name may not resolve the locale you expect after the change.Find every locale parameter in front ends, scripts and admin code, and confirm the exact new parameter name in the i18n breaking change page.
No locale=allQueries that asked for all localized versions in one call now return only the locale requested, so pages that list translations can show missing content.Request each locale individually, loop over your locale list in code, and test every multilingual page or feed.
publicationState replaced by statusFilters and calls that use publicationState to read draft or published content will no longer behave as before.Replace publicationState with status in queries and filters, and confirm the accepted status values in the Strapi docs before release.

How i18n in core changes the content model and plugin list

Internationalization is part of Strapi 5 core, not a plugin, so the @strapi/plugin-i18n package should be removed from the project and not reinstalled. Check package.json and the lock file for that dependency, remove it, and search the codebase for imports from @strapi/plugin-i18n. Any custom code that imported the plugin, such as helpers that read its services, controllers or content-type utilities, needs to be rewritten against the core behavior or deleted. Also check the plugin configuration file, since a leftover entry there can stop the project from starting cleanly after the upgrade.

Next, review each localized content type in the Content-Types Builder. Confirm which fields are marked as localized, which types are enabled for multiple locales, and which locales are configured in the admin panel. Requests from the front end and any internal scripts must use the locale parameter, because the Content Manager parameter changes to locale in Strapi 5. Search your front-end and automation code for the older parameter name and for any requests that assume a default locale. Codemods handle some of these changes, but they do not confirm that your locale list and localized fields match what editors expect.

After the codemods run, confirm the locale configuration in your own environment, ideally on a copy of the production database. Create test entries in each locale, publish one, and check that the correct version is returned for each locale request. Ask your Strapi partner or internal team to record which locales are live, who owns each one, and which fallback behavior the front end expects, so the decision is documented before launch.

Which query changes apply to your front end or integration

Front ends that request one locale per call are usually the least affected by the change, but they still need a review. In Strapi 5, internationalization is part of core, so the Content Manager and API calls use the locale parameter directly. Any query that depended on the v4 i18n plugin naming, or on fetching several locales in a single response, has to be rewritten so that each language is requested on its own.

  • Locale parameter: Confirm that every request sends locale with the language code your site uses, and that no call still relies on v4 plugin naming.
  • Per-locale fetches: Where a page builder loads all languages, replace that with one request per active locale, chosen from the current visitor or route.
  • Fallback logic: Check how the front end behaves when a locale has no entry yet, since the code must handle that case itself rather than relying on an aggregate response.
  • Route and sitemap generation: Confirm that static builds still generate every locale path after the change.
  • Caching keys: Include the locale in cache keys so one language does not serve another.

Test each supported locale on a staging copy with real published and draft-free content, and confirm that every route renders with the expected language.

How to move i18n and draft and publish code in order

This sequence moves multilingual and staged content code to Strapi 5 in an order that keeps a clean rollback point and confirms each locale and publication state before production.

  1. Back up the database before any change

    The engineer responsible for the upgrade takes a full database backup and stores it outside the project, because Strapi's migration documentation says downgrading is not supported. Before touching code, record the current Strapi version, Node.js version and the locales and content types in use. The step is done when a restore of that backup has been tested on a separate server and the restored content opens in the v4 admin panel.

  2. Run the upgrade tool and review codemod output

    The developer runs Strapi's v4 to v5 upgrade tool on a branch, using a dry run first if the tool offers one for the target version. They review every change the codemods make to i18n settings, locale parameters and publication-related calls, and list anything the codemods did not change. The step is done when the diff is committed on the branch and the manual-change list is written down for the next steps.

  3. Remove the i18n plugin package

    Internationalization is part of Strapi 5 core, so the developer removes the @strapi/plugin-i18n package from dependencies and from any plugin registration in the project. They then check that the admin panel still shows the locale switcher for localized content types. The step is done when the project installs cleanly, no reference to the old package remains in the code, and the Content Manager loads with locales available.

  4. Update the locale parameter in code and queries

    The developer changes every Content Manager and API call that passes the old i18n locale parameter so it uses the locale parameter in Strapi 5, including front-end client calls and custom controllers or services. They search the codebase for the old parameter name, not only the upgrade tool output, since codemods may not reach every front end. The step is done when a search returns no old parameter usage and each updated call returns the expected language.

  5. Replace locale=all with per-locale requests

    Strapi 5 no longer returns all localized versions when a request uses locale=all, so the developer changes each such query to request each required locale separately and merges results in the client or service layer. They confirm which locales each page or feature needs so no request loads more than it uses. The step is done when every former locale=all call has a documented replacement and returns the same set of language versions as before.

  6. Replace publicationState with status

    The developer replaces filters and parameters that use publicationState with the status values Strapi 5 uses for draft and published content, in both API requests and custom server code. They check any code that reads draft and published entries through the Document Service API, since the status value controls what is returned. The step is done when a search for publicationState returns nothing and each query returns the same draft or published content as the v4 version.

  7. Test each locale and publication state on a copy

    On a restored copy of the production database, the QA lead or developer tests every locale and every publication state the product uses, including draft, published and any scheduled or preview views. They compare results against the v4 baseline recorded at the start, and log each mismatch with the route or query that produced it. The step is done when all planned locale and status combinations pass and the rollback plan is confirmed to restore the pre-upgrade backup if production fails.

How a localized request flows through Strapi 5 after the change

The request starts in a front end or integration that sends a locale parameter and a status value to the Strapi 5 REST API. Strapi 5 core internationalization, which replaces the old i18n plugin, resolves that locale. The Document Service then reads the draft or published version of each document for that locale, and the database returns the result. Check that each client asks for every locale it needs, because locale=all no longer returns all localized versions in one call.

Request path for one locale and status in Strapi 5.

What to inventory and test before changing queries

Query changes for locales and status only hold up if you know which content, callers and environments they touch. The cards below cover the inventory, the test data and the checks to finish before any code changes.

Inventory locales and content types

List every content type that has internationalization enabled, the locales each one uses and which fields are localized versus shared. Note the default locale for each type. Strapi 5 moves i18n into core, so your plugin list will differ from v4 projects. Confirm that no project still depends on @strapi/plugin-i18n, because that package should not be used on Strapi 5. Record any locale codes that editors create outside the defaults.

i18n in core

Find every caller using locale or status

Search front ends, scheduled jobs, webhooks, GraphQL queries, custom controllers and scripts for locale and publicationState. Each hit needs an owner and a decision: rename to status, request each locale separately, or remove. Include mobile apps and third-party consumers you may not control, since they will break silently when they read unexpected payloads.

Test on a copy of the database

Restore a recent production database into a separate environment before running any query changes. Use the copy to compare how localized entries and draft or published versions look before and after the change. Keep the copy separate from production credentials and storage so test jobs cannot write to live content. Refresh the copy when editors publish large batches of localized content.

Staging on supported Node.js and database versions

Build the staging environment on an Active or Maintenance LTS Node.js version and on a supported database version. Strapi 5 supports PostgreSQL 14 or later, MySQL 8.0 or later, MariaDB 10.3 or later and SQLite 3, and it does not support MongoDB. Confirm the versions against the installation requirements before you start, because query behavior can differ between database engines.

Installation requirements

Test matrix per locale and status

Build a matrix with one row per content type, locale and status combination that callers request. Include draft, published and modified states, plus entries that exist in one locale only. Each cell needs an expected result, for example the single-locale response that a caller receives after a request without locale=all. Run the matrix on every front end and integration before release.

Backup and restore check

Take a backup of the database and media storage, then restore it into an empty environment and confirm that localized entries and draft or published states come back intact. Record how long the restore takes so the cutover window is planned. Strapi documents that downgrades are not supported, so a tested restore is the only reliable way back if the query changes fail in production.

What makes i18n and draft and publish changes take longer

This table lists the factors that expand or shrink the work of moving i18n and draft and publish code to Strapi 5. Read each row as a question to answer about your own project before estimating, since the effort in each row multiplies with the others. Locale count, caller inventory and custom code usually decide the schedule more than the number of content types.

DriverEffect on effortWhat to check
Number of localesEach locale multiplies query, test and editor-review work for every localized typeCount active locales and list which content types are localized in each
Localized content typesMore types with localization enabled means more schema, query and seed data to verifyConfirm which types and components carry the localization setting in v4 and v5
Callers using locale=allEvery client that expects all localized versions in one response must be rewritten to request each localeSearch front ends, mobile apps and integrations for locale=all in code and config
Custom code using publicationStateEach filter or query built on publicationState needs conversion to the status parameterSearch server code, scripts and reports for publicationState and for the i18n plugin package
Editorial publish workflowsTeams that rely on draft versus published states need retesting of previews, scheduled changes and approvalsDocument how editors create, review and publish each localized entry today
Data volume and varietyLarger datasets lengthen migration rehearsals and make it harder to spot locale-specific data gapsMeasure entry counts per locale and type, and plan a rehearsal on a recent copy

Questions teams ask before changing i18n and status code

Can our team make the i18n and status changes without outside help?

Yes, a team with Strapi and Node.js experience can make these changes in-house, and many do. The work is mostly code and query edits: removing the i18n plugin package, changing the Content Manager locale parameter to locale, requesting each locale individually instead of using locale=all, and replacing publicationState with status. The harder part is usually testing every front end and internal caller that depends on the old behavior, plus the data migration run on first start. If your team lacks capacity for that testing, an outside partner can take on part of it under a written scope.

What do you need from our team to scope the work?

Plan to provide four things: read access to the Strapi project repository and deployment configuration, a copy of the production database taken before any change, a list of every service, front end and script that calls the API with a locale or status parameter, and the names of people who can approve test results. The list of callers matters most, because the locale=all change breaks any client that expects every localized version in one response. Ask your partner to confirm exactly which of these inputs the written scope depends on.

How long does an i18n and status migration take?

Duration depends on the drivers, not on a standard figure. The main drivers are the number of content types with localization enabled, how many API consumers must change, how much test coverage exists, and how many locales and draft versions the data holds. A project with a few content types and one client is a different job from a project with many front ends, editorial workflows and custom controllers. Ask for a timeline in the quote that lists each driver and the assumption behind it, and check it against the Strapi v4 to v5 migration docs, which describe the required steps.

Can an outside partner take this on as a fixed-scope engagement?

Yes, most DeployOpen engagements are fixed-scope, with the scope, deliverables and timeline agreed in writing before work starts. For this topic, a written scope would normally name the content types and locales in use, the API consumers to update, the test cases that must pass, and the environments where the change is verified. Changes found after the scope is agreed, such as a new front end that needs locale support, would be handled as a scope change in writing. Ask for the scope document before signing anything.

Can we downgrade to Strapi 4 if the migration causes problems?

No, the Strapi migration docs say downgrading is not supported, so the database must be backed up before the upgrade starts. Restoring that backup is the only dependable way back to the pre-migration state, and it means losing content entered after the backup was taken. Plan a rehearsal on a copy of the database, record how long the restore takes, and confirm who has permission to run it. The Strapi v4 to v5 migration introduction and FAQ is the natural place to confirm the current guidance before you begin.

What does the cost of this work depend on?

The cost depends on the work included, not on a published rate. The main components are the analysis of your content model and API callers, code changes in the Strapi project and its clients, test design and execution, the database backup and rehearsal, and the production cutover. Costs rise with more locales, more consumers and weaker test coverage, and fall when the scope is clear and the callers are documented. Ask any provider for a quote that itemizes these components, states what is one-time and what recurs, and names the assumptions behind each line. Any ongoing support would be a separate retainer agreed in writing.

Does Strapi 5 still need a separate i18n plugin package?

No, internationalization is part of Strapi 5 core, so the @strapi/plugin-i18n package should not be installed or kept in the project. Remove it from dependencies and update code that expects the Content Manager parameter named plugins or the old package path. Check that your locale configuration survives the move, and test that each localized content type still loads in the admin panel. The Strapi i18n breaking change page lists the exact parameter change.

How to test locale and status behavior and roll back safely

Test locale and status behavior on a copy of production before any change reaches live content, because the two breaking changes in this topic fail quietly: a query that once returned every language now returns fewer results, and a status filter that once read publicationState may return the wrong set of entries without raising an error. Build a checklist per locale. For each locale your site uses, request entries with locale set to that code and confirm that the count, slugs and fields match the pre-upgrade responses. Then request the same entries with status set to draft and to published, and confirm that drafts never leak into public responses and that published entries that have a draft change show the published version. Run the same checks in the Content Manager, because editors depend on those views too.

Capture responses before and after the upgrade on the copy, not from memory. Save the same set of requests from the v4 project, run the upgrade, then send the same requests again and diff the results. Expect differences in response shape, since the Strapi 5 API format changes, so compare the content fields and identifiers rather than the raw JSON. Any locale that returns fewer entries than before needs a fixed client request, not a data change. Confirm the exact migration steps for your version in the Strapi v4 to v5 migration introduction and FAQ and check the Strapi release notes for the version you target, because minor releases ship often and details can change.

Plan the rollback before the upgrade starts. Strapi's migration documentation says to back up the database first and does not support downgrading, so the only safe path back is to restore the pre-upgrade database together with the v4 code and its lockfile, then confirm the application starts against that restored state. Record who approves the rollback, how long a restore takes on your hosting, and where the backup is stored. Rehearse the restore on the copy at least once so the steps and access are known. If content editors write during the upgrade window, decide whether their changes are lost on rollback or re-entered, because a restore returns the database to the backup point.

How DeployOpen scopes and delivers a Strapi 5 i18n and status upgrade

DeployOpen starts by inventorying where your Strapi project uses the old locale and publicationState patterns, then agrees a written scope before any code changes. The work covers the locale parameter, locale=all callers, and status queries across your back end and front ends, tested against a copy of your content.

How we scope

  • We inventory every locale parameter, locale=all request and publicationState filter in back-end code, front ends and scheduled jobs.
  • The written scope lists which content types, locales, APIs and clients are in the change, and what is excluded.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts; ongoing support is available as a retainer.

How we build

  • We remove the i18n plugin dependency and move locale handling to the core i18n configuration, checking each content type for localization settings.
  • Each locale=all request is rewritten to request each locale individually, with the list of locales sourced from configuration rather than hardcoded.
  • We replace publicationState with status in queries and test draft and published responses for every localized content type on a copy of your database.

How we hand over

  • You receive a change log mapping each old call site to its new parameter, status value or locale request, with the test results attached.
  • Documentation covers how editors should create and publish localized entries and how front ends should request each locale and status.
  • We walk your engineers through the changes and the test steps so your team can repeat them for future content types.

How we support

  • Retesting after your own later changes can be included in the scope or added as a retainer, depending on how your team plans to maintain the project.
  • Ongoing support and continuous testing are available as retainers for Strapi projects that keep receiving minor releases.
  • Ask for the retest plan in the quote so it is clear what is verified again after each new Strapi 5 release you adopt.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.