intlayer is a free, open source content management systems (cms) project written in TypeScript and released under Apache-2.0. It has 862 GitHub stars, 129 forks and 12 open issues, and was last pushed 26 hours ago. On this registry it ranks #58 of 70 tracked projects in Content Management Systems (CMS), with 5 head-to-head comparisons available. It gained 20 stars over the last 30 tracked days.

What is intlayer?

Intlayer is a per-component internationalisation (i18n) solution for JavaScript applications that is type-safe, uses AI for translation, and includes a free visual editor and CMS, aimed at web and mobile developers building multilingual apps with Next.js, React, Vite, Vue.js, Nuxt, Preact, or Express.

What it is

Intlayer is an i18n and content-management library for JavaScript and TypeScript applications. It is framework-agnostic and integrates with Next.js, React, Vite, Vue.js, Nuxt, Preact, Express, and more. Content is declared per component in per-locale content declaration files, compiled into tree-shakable dictionaries, and typed with TypeScript so that content definitions and code share one type-safe environment. The project also ships a free visual editor and CMS, so content writers can edit translations without a separate localization platform.

The concrete problem it solves is the friction of existing i18n libraries, which the README describes as too complex, too rigid, or not built for modern frameworks. It replaces the pattern of calling a t function for each individual string with a single hook that retrieves all content for a component, and it removes the need to thread that function through every server component by using the same implementation on both client and server. It also replaces the usual localization platform in the workflow, since the visual editor and CMS are free and keep content next to the components that own it.

Key capabilities

  • Cross-framework support covering Next.js, React, Vite, Vue.js, Nuxt, Preact, and Express.
  • Per-locale content declaration files, so content is declared once and auto-generated.
  • The Intlayer Compiler, which extracts content from components automatically and generates the dictionary files.
  • Type-safe content definitions with TypeScript and IDE autocompletion.
  • Single-hook content retrieval instead of calling a t function per string, with a consistent implementation for Next.js client and server components.
  • Codebase organisation by convention: one component equals one dictionary in the same folder, keeping translations beside their components.
  • Markdown support for locale files and remote Markdown, including metadata access in code, for content such as privacy policies and documentation.

Who uses it and how

  • Content writers and translators use the free visual editor and CMS to edit multilingual content without buying a localization platform.
  • Next.js teams building server-component applications use one content implementation across client and server, without passing t through each server component.
  • React and Vite developers follow the dedicated integration guide and configure TypeScript for autocompletion.
  • Teams with mobile targets use it through React Native, per the project topics.
  • Documentation and policy owners keep long-form Markdown content, including remote Markdown, multilingual and metadata-aware.
  • Pipelines use CI/CD integration and the Compiler to keep generated dictionaries current with component content.

Getting started

Setup runs through the framework integration guides linked from the README, with dedicated paths for Next.js and React with Vite, followed by TypeScript configuration for the type-safe environment and the Compiler for dictionary generation. The free visual editor and CMS are offered through the project site at intlayer.org.

How it compares

The provided facts do not name any paid products that Intlayer replaces, and they do not name any similar i18n tools either. Within this registry it stands alone as the listed per-component i18n solution for JavaScript applications.

When to use it — and when not to

The provided facts do not describe any database, storage, or SMTP requirements, so a self-hoster should confirm the operational footprint of the CMS before committing. Teams that prefer plain runtime string tables over JavaScript-defined content and a build-time Compiler may find the model heavier than they need. The README excerpt is feature-table heavy and light on operational detail, and the project carries 830 stars and 12 open issues, which is worth weighing against older, larger i18n ecosystems.

project readme (upstream, from github) — read inline

Intlayer Logo

Per-component i18n

AI-powered translation. Visual Editor. Multilingual CMS.


Docs • Next.js • React + Vite • CMS • Discord

npm version GitHub Stars monthly downloads license last commit

Watch the video

What is Intlayer?

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.

Keys benefits of Intlayer:

Feature Description
Feature Cross-Frameworks Support

Intlayer is compatible with all major frameworks and libraries, including Next.js, React, Vite, Vue.js, Nuxt, Preact, Express, and more.
Feature JavaScript-Powered Content Management

Harness the flexibility of JavaScript to define and manage your content efficiently.

- Content declaration
Feature Per-Locale Content Declaration File

Speed up your development by declaring your content once, before auto generation.

- Per-Locale Content Declaration File
Feature Compiler

The Intlayer Compiler extract automatically the content from the components and generate the dictionary files.

- Compiler
Feature Type-Safe Environment

Leverage TypeScript to ensure your content definitions and code are error-free, while also benefiting from IDE autocompletion.

- TypeScript configuration
Feature Simplified Setup

Get up and running quickly with minimal configuration. Adjust settings for internationalization, routing, AI, build, and content handling with ease.

- Explore Next.js integration
Feature Simplified Content Retrieval

No need to call your t function for each piece of content. Retrieve all your content directly using a single hook.

- React integration
Feature Consistent Server Component Implementation

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.

- Server Components
Feature Organized Codebase

Keep your codebase more organized: 1 component = 1 dictionary in the same folder. Translations close to their respective components, enhance maintainability and clarity.

- How Intlayer works
Feature Enhanced Routing

Full support of app routing, adapting seamlessly to complex application structures, for Next.js, React, Vite, Vue.js, etc.

- Explore Next.js integration
Feature Markdown Support

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.

- Content files
Feature Free Visual Editor & CMS

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.

- Intlayer Editor
- Intlayer CMS
Feature Tree-shakable Content

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.

- App build optimization
Feature Static Rendering

Doesn't block Static Rendering.

- Next.js integration
Feature AI-Powered Translation

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.

- CI/CD integration
- Intlayer CLI
- Auto fill
Feature MCP Server Integration

Provides an MCP (Model Context Protocol) server for IDE automation, enabling seamless content management and i18n workflows directly within your development environment.

- MCP Server
Feature VSCode Extension

Intlayer provides a VSCode extension to help you manage your content and translations, building your dictionaries, translating your content, and more.

- VSCode Extension
Feature Interoperability

Allow interoperability with react-i18next, next-i18next, next-intl, react-intl, vue-i18n.

- Intlayer and react-intl
- Intlayer and next-intl
- Intlayer and next-i18next
- Intlayer and vue-i18n
- Intlayer compat adapters
Feature Performances & Benchmark

Uses advanced tree-shaking and dynamic loading to boost performances and keep the solution as light as possible.

- Performances & Benchmark

📦 Installation

Start your journey with Intlayer today and experience a smoother, more powerful approach to internationalization.

npm install intlayer react-intlayer

⚡ Quick Start (Next.js)

// intlayer.config.ts
import { Locales, type IntlayerConfig } from "intlayer";

const config: IntlayerConfig = {
  internationalization: {
    locales: [Locales.ENGLISH, Locales.FRENCH, Locales.SPANISH],
    defaultLocale: Locales.ENGLISH,
  },
};

export default config;
// app/home.content.ts
import { t, type Dictionary } from "intlayer";

const content = {
  key: "home",
  content: {
    title: t({
      en: "Home",
      fr: "Accueil",
      es: "Inicio",
    }),
  },
} satisfies Dictionary;

export default content;
// app/page.tsx
import { useIntlayer } from "react-intlayer";

const HomePage = () => {
  const { title } = useIntlayer("home");

  return <h1>{title}</h1>;
};

Get the full guide →

🎥 Live tutorial on YouTube

How to Internationalize your application using Intlayer

Table of Contents

Explore our comprehensive documentation to get started with Intlayer and learn how to integrate it into your projects.

📘 Get Started
⚙️ Concept
🌐 Environment
📊 Benchmark
📰 Blog

Multilingual content management system

More than an i18n library, Intlayer is a complete multilingual content management system. A full CMS is available for free at app.intlayer.org.

Intlayer connects developers, copywriters, and AI agents in one workflow for creating and maintaining multilingual websites effortlessly.Intlayer replaces the following stack in a single solution:

  • i18n solutions (e.g. i18next, next-intl, vue-i18n)
  • TMSs (Translation Management Systems) (e.g. Crowdin, Phrase, Lokalise)
  • Feature flags
  • Headless CMSs (e.g. Contentful, Strapi, Sanity)

CMS Preview

🌐 Readme in other languages

English • 简体中文 • Русский • 日本語 • Français • 한국어 • Español • Deutsch • العربية • Italiano • English (UK) • Português • हिन्दी • Türkçe

🤝 Community

Intlayer is built with and for the community and we’d love your input!

You can also follow us on :


Intlayer Discord Intlayer LinkedIn Intlayer Instagram Intlayer X Intlayer YouTube Intlayer TikTok

Contribution

For more detailed guidelines on contributing to this project, please refer to the CONTRIBUTING.md file. It contains essential information on our development process, commit message conventions, and release procedures. Your contributions are valuable to us, and we appreciate your efforts in making this project better!

Contribute on GitHub, GitLab, or Bitbucket.

Thank You for the Support

If you like Intlayer, give us a ⭐ on GitHub. It helps others discover the project! See why GitHub Stars matter.

Star History Chart

Frequently asked questions

Is intlayer free to use?

intlayer is open source under the Apache-2.0 licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does intlayer do?

Per-component Internationalisation solution for JS application. Type-Safe. Translate with AI. Edit Visually.

What is intlayer written in?

intlayer is primarily written in TypeScript. Its source is publicly available at https://github.com/aymericzip/intlayer, and it has 862 GitHub stars.