Skip to content

Fix Page Builder content translation and PHP 7.4 compatibility#51

Merged
dadolun95 merged 2 commits intomainfrom
refactor/text-chunker-and-translate-parsed-content
Mar 12, 2026
Merged

Fix Page Builder content translation and PHP 7.4 compatibility#51
dadolun95 merged 2 commits intomainfrom
refactor/text-chunker-and-translate-parsed-content

Conversation

@SamueleMartini
Copy link
Copy Markdown
Collaborator

Summary

  • Fixed widget content_settings translation using JSON decode/encode instead of unreliable regex
  • Added translation of repeatable items and widget preview inside content_settings
  • Fixed text/heading content types corruption during HTML encoding
  • Downgraded PHP compatibility to 7.4
  • Version 1.11.2

Test plan

  • Duplicate a CMS page with Page Builder widgets (slideshow, grid with repeatable items)
  • Translate the page and verify content_settings values are translated in DB
  • Verify Page Builder editor shows translated widget text
  • Verify text/heading content types are not corrupted after translation

@dadolun95 dadolun95 self-requested a review March 12, 2026 17:02
@dadolun95 dadolun95 merged commit 012ddc3 into main Mar 12, 2026
2 checks passed
@dadolun95 dadolun95 deleted the refactor/text-chunker-and-translate-parsed-content branch March 12, 2026 17:02
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.

2 participants