{"repo":"i18next/next-i18next","free":true,"listed":false,"github":"https://github.com/i18next/next-i18next","clone":"git clone https://github.com/i18next/next-i18next.git","description":"The easiest way to translate your NextJs apps.","language":"TypeScript","stars":6160,"topics":["react-i18next","i18next","nextjs","next","now","react","reactjs","ssr"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"next-i18next The easiest way to translate your Next.js apps. Supports the App Router (Server Components, Client Components, middleware), the Pages Router , and mixed setups where both routers coexist. If you already know i18next: next-i18next v16 is a thin layer on top of i18next and react-i18next that handles the Next.js-specific wiring — middleware, server/client split, resource hydration — so you don't have to. What's new in v16 - App Router support : getT() for Server Components, useT() for Client Components, createProxy() for language detection and routing - Locale-in-path ( /en/about ) and no-locale-path (cookie-based) modes - Mixed Router : Use both App Router and Pages Router in the same app with basePath scoping - Custom Backends : i18next-http-backend , i18next-locize-backend , i18next-chained-backend , etc. - Edge-safe Proxy : Zero Node.js dependencies in the proxy/middleware path - Pages Router : Existing appWithTranslation / serverSideTranslations API preserved under next-i18next/pages Advice: If you don't like to manage your translation files manually or are simply looking for a better management solution, take a look at i18next-locize-backend. The i18next backend plugin for 🌐 Locize ☁️ — built by the same team behind next-i18next, with CDN delivery (works great on Vercel/serverless), AI translation, and no redeploys for copy changes. Starting from a Next.js app with hardcoded strings? Run npx i18next-cli localize — one command that wraps strings in t() , extra","default_branch":null,"files":null,"tree":[],"storefront":"/r/i18next","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/i18next/next-i18next/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}