Skip to content

[6.x] Multisite bulk localize entries - #15280

Open
jaygeorge wants to merge 4 commits into
multisite-entry-groupingfrom
multisite-bulk-localize-entries
Open

[6.x] Multisite bulk localize entries#15280
jaygeorge wants to merge 4 commits into
multisite-entry-groupingfrom
multisite-bulk-localize-entries

Conversation

@jaygeorge

Copy link
Copy Markdown
Contributor

Description of the Problem

On multisite entry listings, going through each entry to duplicate them for a new site is slow. There’s no bulk way to add a localization for a selected site across multiple entries.

As per statamic/ideas#613

What this PR Does

2026-08-26 at 16 33 23@2x
  • Adds a bulk Localize action on entry listings when multisite is enabled and at least one selected entry is missing a localization:
  • Shows a site select with only sites still missing for the selection
  • Creates localizations via makeLocalization for entries that don’t already exist in that site
  • Skips entries that already have the localization, and reports how many were created vs skipped
  • Hides the action when the selection isn’t eligible (mixed collections, fully localized, single-site collections, etc.)
  • Fixes Publish Field.vue so hide_display + required fields don’t show a stray asterisk (used by the site select in the modal)

How to Reproduce

  • Enable multisite with a collection available in multiple sites (e.g. en, fr, de).
  • Create several entries that exist only in one site.
  • Open the collection entry index, select those entries, and choose Localize.
  • Pick a missing site and confirm — localizations are created for entries that need them; existing ones are skipped.

Let editors pick a target site from the collection index and create localizations only for entries that do not already have one.
Clarify the confirmation text, drop the Site label, and avoid showing a required asterisk when field labels are hidden.
Constrain the site field to offered options, drop the unreachable edit soft-skip, and add tests for visibleToBulk, authorize, and site validation.
@jasonvarga
jasonvarga force-pushed the multisite-bulk-localize-entries branch from f9cc12a to 6dc7ff7 Compare August 27, 2026 21:09
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