Skip to content

Commit d860015

Browse files
committed
Manually revert changes for feature flags docs
1 parent 0d0a9be commit d860015

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

docusaurus/docs/cms/configurations/features.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ To enable a future flag:
4545
module.exports = ({ env }) => ({
4646
future: {
4747
experimental_firstPublishedAt: env.bool('STRAPI_FUTURE_EXPERIMENTAL_FIRST_PUBLISHED_AT', false),
48-
unstableAILocalizations: env.bool('STRAPI_UNSTABLE_AI_LOCALIZATIONS', false),
4948
},
5049
})
5150

@@ -55,10 +54,9 @@ To enable a future flag:
5554

5655
```json title=".env"
5756
STRAPI_FUTURE_EXPERIMENTAL_FIRST_PUBLISHED_AT=true
58-
STRAPI_UNSTABLE_AI_LOCALIZATIONS=true
5957
```
6058

61-
If your environment file does not include this value, the `unstableAILocalizations` future flag property value will default to `false` and the experimental feature will not be enabled.
59+
If your environment file does not include this value, the `experimental_firstPublishedAt` future flag property value will default to `false` and the experimental feature will not be enabled.
6260

6361
</TabItem>
6462

@@ -68,7 +66,6 @@ To enable a future flag:
6866
export default {
6967
future: {
7068
experimental_firstPublishedAt: env.bool('STRAPI_FUTURE_EXPERIMENTAL_FIRST_PUBLISHED_AT', false),
71-
unstableAILocalizations: env.bool('STRAPI_UNSTABLE_AI_LOCALIZATIONS', false),
7269
},
7370
};
7471
```
@@ -77,7 +74,6 @@ To enable a future flag:
7774

7875
```json title=".env"
7976
STRAPI_FUTURE_EXPERIMENTAL_FIRST_PUBLISHED_AT=true
80-
STRAPI_UNSTABLE_AI_LOCALIZATIONS=true
8177
```
8278

8379
If your environment file does not include this value, the `unstableAILocalizations` future flag property value will default to `false` and the experimental feature will not be enabled.
@@ -116,4 +112,3 @@ Developers can use the following APIs to interact with future flags:
116112
| Property name | Related feature | Suggested environment variable name |
117113
| ------------- | --------------- | ---------------------------------- |
118114
| `experimental_firstPublishedAt` | [Draft & Publish](/cms/features/draft-and-publish#recording-the-first-publication-date) | `STRAPI_FUTURE_EXPERIMENTAL_FIRST_PUBLISHED_AT` |
119-
| `unstableAILocalizations` | [AI-powered Internationalization](/cms/features/internationalization#ai-powered-internationalization) |

docusaurus/docs/cms/features/internationalization.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,7 @@ It is not possible to create custom locales. Locales can only be created based o
9090

9191
AI-Powered Internationalization enables automatic translations for all the locales in a project when the source content is updated. This enables content editors to have their content translated into multiple languages within a few seconds.
9292

93-
AI-powered Internationalization is disabled by default. To enable it:
94-
95-
1. Ensure the `unstableAILocalizations` [feature flag](/cms/configurations/features) is set to `true`. If you've just changed this configuration property, you might need to restart the Strapi server for the changes to apply.
96-
2. Go to <Icon name="gear-six" /> *Settings > Global Settings > Internationalization* and set _AI translations_ to on.
93+
AI-powered Internationalization is disabled by default. To enable it, go to <Icon name="gear-six" /> *Settings > Global Settings > Internationalization* and set _AI translations_ to on.
9794

9895
<!-- TODO: add light/dark mode screenshots -->
9996

0 commit comments

Comments
 (0)