# I18N_LIVE_CATALOG_UNAVAILABLE

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

The request to `/_vitehub/i18n/<locale>.json` failed or returned a non-2xx status. 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 the server log and network. If `fetch()` rejected, the warning's `cause` holds the fetch error. If the server returned a non-2xx response, the warning reports the HTTP status without a `cause`.

## Source

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

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

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