SIGN IN SIGN UP
payloadcms / payload UNCLAIMED

Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.

0 0 14 TypeScript

feat: adds new UI option Duplicate In [Select Locales] (#13803)

### What
Adds new UI feature and update to the duplicate endpoint to support to
duplicating only select locales.

### Why
Currently, duplicating a document always copies all locales. To exclude
some, users must duplicate the full document and manually clear fields.
This feature was requested by the community and is part of planned
localization improvements.

### How
The new control opens a drawer where users can pick one or more locales
to duplicate. The duplicate endpoint now accepts `selectLocales` and
automatically clears any unselected locales before creating the new
draft document.

#### Feature tracked here:
https://github.com/payloadcms/payload/discussions/13444

---------

Co-authored-by: Jarrod Flesch <jarrodmflesch@gmail.com>
J
Jessica Rynkar committed
53d85574d8405f45423871ccf1da3209371ad2da
Parent: f1456a0
Committed by GitHub <noreply@github.com> on 10/31/2025, 8:06:36 PM