Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions docs/developer-docs/latest/plugins/i18n.md
Original file line number Diff line number Diff line change
Expand Up @@ -338,9 +338,18 @@ This request:

### Updating an entry

It is not possible to change the locale of an existing localized entry.
To update an existing localized entry, send a `PUT` request to the appropriate URL depending on the type of content:

When updating a localized entry (with `PUT /{localized-content-type}/:id`), if you set a `locale` attribute in the request body, it will be ignored.
| Content-Type | Request URL format |
| --------------- | -------------------------------------------- |
| Collection type | `PUT /api/{localized-content-type}/:id` |
| Single type | `PUT /api/{localized-content-type}/?locale={locale}` |

When updating a localization for existing localized entries, the body of the `PUT` request can only accept localized fields.

::: tip
It is not possible to change the locale of an existing localized entry. When updating a localized entry, if you set a `locale` attribute in the request body it will be ignored.
:::

## Usage with the GraphQL plugin

Expand Down