Frequently Asked Questions

    Is it possible to use Intlayer with Next.js without `[locale]` in the page path?

    Learn how to use Intlayer with Next.js without `[locale]` in the page path.

    Can I use an array as a content declaration?

    Learn how to use an array as a content declaration.

    How to build dictionaries?

    Learn how to build dictionaries.

    Build Error in CI/CD

    Learn how to fix build errors that occur in CI/CD environments.

    I get module not found error when using bun

    Fix error when using bun.

    How to limit Claude Code token consumption to generate translations

    Why translating with Claude Code burns tokens, what Intlayer does instead (filters translated keys, chunks JSON, translates markdown block by block), and how to reuse your Claude subscription with claude setup-token.

    How to customize the locale list?

    Learn how to customize the locale list.

    How to configure domain-based routing?

    Learn how to configure domain-based routing.

    `vite-env-only` & Intlayer – false positive `node:fs` denied error

    Why vite-env-only reports a denied `node:fs` import with Intlayer + React-Router + Vite and what to do.

    ESBuild Error

    Learn how to fix ESBuild errors.

    How to retrieve the locale from the cookies / headers?

    Learn how to retrieve the locale from the cookies / headers.

    IntlayerNode type. What is it?

    What is it the IntlayerNode type? Why my string is transformed as an IntlayerNode<string>?

    Intlayer command undefined

    Learn how to fix the intlayer command undefined error.

    Incorrect Locale Retrieved from URL

    Learn how to fix the incorrect locale retrieved from the URL.

    I get an error related to sub-packages @intlayer/*

    Fix error related to sub-packages @intlayer/*.

    Static vs Dynamic Rendering with i18n in Next.js

    Learn how to use static vs dynamic rendering with i18n in Next.js.

    Can I translate the url path?

    Learn how to translate the url path.

    Unknown command

    Learn how to fix the unknown command error.