Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: change i18n configuration method #190

Merged
merged 1 commit into from
Dec 3, 2024
Merged

Conversation

nshenderov
Copy link
Owner

What does it do?

Updates the localization configuration logic for the field.
Instead of automatically applying localization whenever i18n is detected (unless ignorei18n is set to true), it will now apply only to fields explicitly marked as localized (those with the "Enable localization for this field" checkbox enabled in the Content-Types Builder).

Why is it needed?

The previous logic is outdated for the latest Strapi versions.

Screenshot from 2024-12-03 17-17-14

@nshenderov nshenderov merged commit 8930aaf into dev Dec 3, 2024
nshenderov added a commit that referenced this pull request Dec 12, 2024
Changes the localization behavior to apply only for fields explicitly marked as localized (those with "Enable localization for this field" enabled in the Content-Types Builder). The previous logic, which applied localization automatically when i18n was detected (unless ignorei18n was set to true), has been replaced.

BREAKING CHANGE: Localization is no longer applied automatically for all fields when i18n is detected. It now applies only to fields explicitly configured for localization in the Content-Types Builder.
@nshenderov nshenderov deleted the feat/i18n-field-switch branch December 12, 2024 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant