# aralroca/next-translate

Next.js plugin + i18n API for Next.js 🌍  -  Load page translations and use them in an easy way!

Repository: https://github.com/aralroca/next-translate
Canonical: https://ross.abutalabs.com/products/next-translate
Language: JavaScript
License: MIT
License Family: permissive
Topics: nextjs, tiny, treeshaking, react, i18n, static-site, globalization, localization, preact, plurals, trans-component, usetranslation, hacktoberfest
Last push: 2026-06-29T16:54:36+00:00

## Health v2 (maintenance only)
Score: 92/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 90, release rhythm 90, longevity 100
- inputs: {"age_days": 2465, "days_push": 65, "days_rel": 65, "gap_med": 7, "n_releases_24m": 8}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2736, forks 204 (observed 2026-08-28T04:07:16.319777+00:00)

## What it is
next-translate is a Next.js plugin plus a small i18n API for loading page translations and using them in React components. It supports namespaces, plurals, fallbacks, HTML in translations, and works with both pages and app directory routing.

## Use cases
- add multi-language support to a Next.js site
- translate React pages with namespaces and plurals
- load only the translations needed per page
- switch languages and persist user language preference
- use translations in Next.js app directory
- render HTML inside translated strings

## When to choose
- you use Next.js and want lightweight, tree-shakeable i18n without a heavy runtime
- you want a simple JSON-namespace workflow for translations
- you need plurals, fallbacks, and a Trans component with minimal setup

## When to avoid
- your project is not Next.js or React/Preact based
- you need advanced i18n features like ICU message format catalogs or route-based locale routing handled entirely for you
- you prefer a framework-agnostic i18n solution like i18next

## Facets
- artifact type: library
- maturity: active
- function: internationalization, plugin-system, frontend-framework
- domain: web-development, frontend
- platform: -
- tags: nextjs, i18n, react, translations, plurals, treeshaking, preact, localization, nodejs, web-server

## Member repositories
- aralroca/next-translate (main) score 92

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:16.319777+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:14:26.608912+00:00, confidence not recorded.
  - readme: https://github.com/aralroca/next-translate (fetched 2026-08-28T04:07:16.319777+00:00, sha 9ad3dd4a7ae1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
