# I18N_LIVE_CATALOG_INVALID

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

The live catalog route `/_vitehub/i18n/<locale>.json` returned invalid JSON, or its body did not have a string `revision` and valid messages if supplied. The browser logs a warning and uses the build catalog. This warning does not make `setLocale()` return an error.

Open the URL for the affected locale and check that no proxy, middleware, or app route serves a different response at that path.

## Source

`I18N_LIVE_CATALOG_INVALID` 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#L30). It is raised in [`src/runtime.ts`](https://github.com/vite-hub/vitehub/blob/main/packages/i18n/src/runtime.ts#L138), [`src/runtime.ts`](https://github.com/vite-hub/vitehub/blob/main/packages/i18n/src/runtime.ts#L143).

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_LIVE_CATALOG_UNAVAILABLE](https://vitehub.dev/raw/docs/i18n/diagnostics/i18n_live_catalog_unavailable.md)

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