针对 JS 应用程序的按组件的国际化解决方案。类型安全。使用 AI 进行翻译。可视化编辑。
Per-component i18n
AI-powered translation. Visual Editor. Multilingual CMS.
Docs • Next.js • React + Vite • CMS • Discord
Most i18n libraries are either too complex, too rigid, or not built for modern frameworks.
Intlayer is a modern i18n solution for web and mobile apps.
It’s framework-agnostic, AI-powered, and includes a free CMS & visual editor.
With per-locale content files, TypeScript autocompletion, tree-shakable dictionaries, and CI/CD integration, Intlayer makes internationalization faster, cleaner, and smarter.
| Feature | Description |
|---|---|
| Cross-Frameworks Support |
Intlayer is compatible with all major frameworks and libraries, including Next.js, React, Vite, Vue.js, Nuxt, Preact, Express, and more. | | | JavaScript-Powered Content Management
Harness the flexibility of JavaScript to define and manage your content efficiently.
Speed up your development by declaring your content once, before auto generation.
The Intlayer Compiler extract automatically the content from the components and generate the dictionary files.
Leverage TypeScript to ensure your content definitions and code are error-free, while also benefiting from IDE autocompletion.
Get up and running quickly with minimal configuration. Adjust settings for internationalization, routing, AI, build, and content handling with ease.
No need to call your t function for each piece of content. Retrieve all your content directly using a single hook.
Perfectly suited for Next.js server components, use the same implementation for both client and server components, no need to pass your t function across each server component.
Keep your codebase more organized: 1 component = 1 dictionary in the same folder. Translations close to their respective components, enhance maintainability and clarity.
Full support of app routing, adapting seamlessly to complex application structures, for Next.js, React, Vite, Vue.js, etc.
Import and interpret, locale files and remote Markdown for multilingual content like privacy policies, documentation, etc. Interpret and make Markdown metadata accessible in your code.
A free visual editor and CMS are available for content writers, removing the need for a localization platform. Keep your content synchronized using Git, or externalize it totally or partially with the CMS.
Tree-shakable content, reducing the size of the final bundle. Loads content per component, excluding any unused content from your bundle. Supports lazy loading to enhance app loading efficiency.
Doesn't block Static Rendering.
Transform your website into 231 languages with just one click using Intlayer's advanced AI-powered translation tools using your own AI provider / API key.
Provides an MCP (Model Context Protocol) server for IDE automation, enabling seamless content management and i18n workflows directly within your development environment.
Intlayer provides a VSCode extension to help you manage your content and translations, building your dictionaries, translating your content, and more.
Allow interoperability with react-i18next, next-i18next, next-intl, react-intl, vue-i18n.
Uses advanced tree-shaking and
暂无开放 Issues,或尚未同步最近议题。