# I18N_SAVE_CONFLICT

<!-- Generated by docs/modules/diagnostics from the package catalogs. Write a guide in docs/diagnostics/<CODE>.md instead of editing this file. -->

Another save changed the Workspace `draft` ref while `useTranslations().save()` was writing the translation. Your translation was not saved. The returned error has status `409`, and `error.cause` holds the Workspace conflict.

Call `save()` again so it reads the new draft before writing the translation.

## Source

`I18N_SAVE_CONFLICT` belongs to the `i18n` package. Its catalog entry is in [`src/errors.ts`](https://github.com/vite-hub/vitehub/blob/main/packages/i18n/src/errors.ts#L44). It is raised in [`src/server.ts`](https://github.com/vite-hub/vitehub/blob/main/packages/i18n/src/server.ts#L352).

See [all i18n diagnostics](https://vitehub.dev/docs/i18n/diagnostics).

<!-- vitehub-docs:section-links -->
## In this section

- [Overview](https://vitehub.dev/raw/docs/i18n.md)
- [Get started](https://vitehub.dev/raw/docs/i18n/get-started.md)
- [Configure](https://vitehub.dev/raw/docs/i18n/configure.md)
- [Server API](https://vitehub.dev/raw/docs/i18n/server-api.md)
- [Agent capability](https://vitehub.dev/raw/docs/i18n/agent-capability.md)
- [Limits and errors](https://vitehub.dev/raw/docs/i18n/limits-and-errors.md)

Next: [I18N_UNKNOWN_LOCALE](https://vitehub.dev/raw/docs/i18n/diagnostics/i18n_unknown_locale.md)

All pages: [llms.txt](https://vitehub.dev/llms.txt)
