awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
i18next avatar

i18next/next-i18next

0
View on GitHub↗
6,158 stars·767 forks·TypeScript·MIT·19 viewsnext.i18next.com↗

Next I18next

next-i18next is an internationalization library that integrates the i18next ecosystem into Next.js applications, supporting both the App Router and Pages Router. It provides locale-aware routing middleware, server-component translation hydration, and a unified translation management system that works across server and client components.

The library handles automatic language detection from browser cookies and HTTP Accept-Language headers, persists user language preferences across sessions, and rewrites URLs with locale prefixes for proper routing. It includes a translation hydration framework that serializes server-loaded translations into page HTML, enabling immediate client-side access without additional network requests. For mixed-router projects, it provides separate middleware and configuration paths that allow both routing systems to coexist.

Translation resources can be loaded from local JSON files or external sources through any i18next backend plugin, including HTTP, Locize, or chained backends. The library supports client-side language switching without full page reloads and provides dedicated translation functions for both Server Components and Client Components.

Features

  • Internationalization Frameworks - Provides the core i18n framework that adds locale detection, translation loading, and hydration to Next.js apps.
  • Internationalization Libraries - Adds multi-language support to Next.js applications with locale detection, translation loading, and server-client hydration.
  • Server Component Translation Functions - Provides async getT() functions that load translation resources before rendering localized text in Server Components.
  • Translation Hydrations - Serializes server-loaded translations and passes them to the client-side provider for immediate access.
  • Locale-Aware Routings - Configures URL paths with language prefixes and automatically redirects users to the correct locale-based route.
  • Language Preference Cookie Persistence - Stores the user's selected language in a browser cookie and reads it on subsequent requests to maintain language preference across sessions.
  • Next.js Integrations - Integrates multi-language support into Next.js, detecting user locale and serving translated content across components.
  • i18next Integrations - Connects the i18next ecosystem to Next.js, supporting both App Router and Pages Router with unified translation management.
  • Translation Tools - Provides async translation functions for Server Components, loading resources before rendering localized text.
  • Accept-Language Locale Settings - Parses the HTTP Accept-Language header on the server to determine the user's preferred language for initial page loads.
  • Cookie and Header Language Detectors - Reads user language from a browser cookie or Accept-Language header and sets it for all subsequent translations.
  • Automatic Language Detections - Automatically detects user language from cookies, Accept-Language headers, or fallback values for consistent translation.
  • Translation Hooks - Provides a useT() hook in Client Components that returns the t function for the current language and namespace.
  • Translation Hydrations - Hydrates server-loaded translations into client-side state so localized text renders immediately without extra requests.
  • Translation - Serializes server-loaded translations into page HTML for immediate client-side access without additional network requests.
  • Locale-Aware Routing Middleware - Rewrites URLs with locale prefixes and detects user language from cookies or Accept-Language headers.
  • Localized URL Mapping - Rewrites incoming requests to prepend a locale segment to the URL path for language-specific routing.
  • Translation Functions - Provides a dedicated translation function for translating text directly inside async Server Components without client hydration.
  • Translation Hydration Utilities - Serializes server-loaded translations into a JSON payload embedded in page HTML for immediate client-side access.
  • i18next Backend Plugin Integrations - Loads translation files from remote APIs, CDNs, or custom backends using i18next plugins instead of local JSON files.
  • Translation Namespace Loading - Supports any i18next backend plugin to fetch translation files from APIs, CDNs, or local storage on demand.
  • Translation Backend Plugin Systems - Loads translation files from remote APIs, CDNs, or custom backends using i18next plugins instead of local JSON files.
  • Translation - Loads translation backends and formatters through a unified plugin system that extends the core i18next instance.
  • URL-Driven Language Switching - Switches language by navigating to a new locale prefix in the URL or updating a cookie without a full page reload.
  • Mixed Router Internationalization Setups - Supports both App Router and Pages Router in the same Next.js project with separate internationalization configurations.
  • Next.js Mixed Router Compatibility Layers - Provides separate middleware and configuration paths for App Router and Pages Router, allowing both routing systems to coexist.
  • Internationalization Integrations - Integrates i18next with the Pages Router to handle translation routing, resource hydration, and locale management.

Star history

Star history chart for i18next/next-i18nextStar history chart for i18next/next-i18next

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with Next I18next

These projects share indexed features with Next I18next. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • amannn/next-intlamannn avatar

    amannn/next-intl

    4,304View on GitHub↗

    next-intl is an internationalization framework for Next.js applications. It provides a system for managing translations, localized routing, and ICU message formatting to deliver multilingual content across server and client components. The project distinguishes itself through a focus on developer experience and type safety, utilizing a TypeScript translation validator that generates declaration files from JSON messages for compile-time key validation. It streamlines translation workflows with tools for automatically extracting strings from source code into message files and synchronizing thos

    TypeScriptdate-formattingi18nnext
    View on GitHub↗4,304
  • aralroca/next-translatearalroca avatar

    aralroca/next-translate

    2,741View on GitHub↗

    Next-translate is a localization framework designed for Next.js applications that manages multi-language content through server-side integration and build-time optimization. It provides a comprehensive set of utilities for injecting translated strings into React components, enabling developers to handle dynamic content, pluralization, and locale-specific formatting within a unified architecture. The library distinguishes itself by optimizing application performance through selective resource loading. It parses translation files during the build process to generate page-specific bundles and su

    JavaScriptglobalizationhacktoberfesti18n
    View on GitHub↗2,741
  • ruby-i18n/i18nruby-i18n avatar

    ruby-i18n/i18n

    1,028View on GitHub↗

    This library provides a foundational framework for internationalizing Ruby applications by decoupling text from source code. It manages the complete translation lifecycle, including dynamic content interpolation, pluralization, and locale-specific formatting. The system ensures application stability through thread-safe state management and configurable error handling for missing translation keys. The project distinguishes itself through a highly modular architecture that supports pluggable storage backends, allowing translation data to be retrieved from databases, key-value stores, or standar

    Rubyi18nruby
    View on GitHub↗1,028
  • saltyshiomix/nextronsaltyshiomix avatar

    saltyshiomix/nextron

    4,420View on GitHub↗

    Nextron is a framework for building cross-platform desktop applications by integrating Next.js with an Electron shell. It serves as a build tool that compiles web-based user interfaces into standalone installable desktop bundles. The project provides desktop application boilerplates and pre-configured templates to initialize projects. It includes a custom URL schema handler that allows the registration of unique protocols to launch the desktop application directly from a web browser. The toolkit covers desktop app build automation, including the compilation and packaging of source code into

    TypeScript
    View on GitHub↗4,420
Compare all 30 related projects→

Frequently asked questions

What does i18next/next-i18next do?

next-i18next is an internationalization library that integrates the i18next ecosystem into Next.js applications, supporting both the App Router and Pages Router. It provides locale-aware routing middleware, server-component translation hydration, and a unified translation management system that works across server and client components.

What are the main features of i18next/next-i18next?

The main features of i18next/next-i18next are: Internationalization Frameworks, Internationalization Libraries, Server Component Translation Functions, Translation Hydrations, Locale-Aware Routings, Language Preference Cookie Persistence, Next.js Integrations, i18next Integrations.

Which projects share features with i18next/next-i18next?

Projects with overlapping indexed features include: amannn/next-intl — next-intl is an internationalization framework for Next.js applications. It provides a system for managing… aralroca/next-translate — Next-translate is a localization framework designed for Next.js applications that manages multi-language content… ruby-i18n/i18n — This library provides a foundational framework for internationalizing Ruby applications by decoupling text from source… saltyshiomix/nextron — Nextron is a framework for building cross-platform desktop applications by integrating Next.js with an Electron shell.… shadowwalker/next-pwa — next-pwa is a plugin for adding progressive web app capabilities and offline support to Next.js applications. It… ixartz/next-js-boilerplate — This project is a production-ready starter template for building web applications with the React framework. It…