i18next/next-i18next

The easiest way to translate your NextJs apps.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 28 minutes ago
Added to GitGenius on September 10th, 2026
Created on November 9th, 2018
Open Issues & Pull Requests: 0 (+0)
GitHub issues: Enabled
Number of forks: 757
Total Stargazers: 6,160 (+0)
Total Subscribers: 29 (+0)

Repository Insights (GitGenius)

Most active contributors

Sign in to see contributor activity.

Related repositories by overlapping contributors

No overlapping-contributor repos identified yet.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Issue API getrepoissuespagesummary failed: 429 Rate limit exceeded. Please try again later.

Detailed Description

next-i18next is a translation library that integrates i18next and react-i18next with Next.js applications.

The tool solves the problem of wiring internationalization into Next.js by handling the framework-specific concerns that i18next alone does not address. It manages middleware configuration, server and client component separation, resource hydration, and language detection routing. Rather than requiring developers to manually orchestrate these pieces, next-i18next provides a thin abstraction layer that connects i18next's translation engine to Next.js's routing and rendering models.

Developers should choose this tool if they are building Next.js applications that need multi-language support and are already familiar with i18next's ecosystem. It suits projects using either the App Router with Server and Client Components, the Pages Router, or mixed setups where both routers coexist. The tool supports both locale-in-path routing (such as /en/about) and cookie-based no-locale-path modes. It works on serverless platforms like Vercel by supporting dynamic imports for translation files rather than requiring filesystem access. For teams that prefer not to manage translation files manually, the README mentions i18next-locize-backend as an alternative backend that provides cloud-based management, CDN delivery, and AI translation capabilities.

The project maintains active development across multiple concerns. It preserves backward compatibility with the Pages Router API under a separate import path while introducing new patterns for the App Router. The codebase is written in TypeScript and supports pluggable backends, allowing integration with custom translation management systems. The tool has zero Node.js dependencies in its proxy and middleware path, enabling it to run on edge runtimes.