chore: update localization.enableStatusLocalization to experimental.localizeStatus

This commit is contained in:
Jessica Chowdhury
2025-08-14 11:23:46 +01:00
parent 8a9caef82c
commit b2becb8715
9 changed files with 122 additions and 20 deletions

View File

@@ -428,13 +428,15 @@ export default buildConfigWithDefaults({
slug: 'global-text',
},
],
experimental: {
localizeStatus: true,
},
localization: {
filterAvailableLocales: ({ locales }) => {
return locales.filter((locale) => locale.code !== 'xx')
},
defaultLocale,
fallback: true,
enableStatusLocalization: true,
locales: [
{
code: 'xx',