N Next.js

Lokali for Next.js

Auto-translate your Next.js app's messages/*.json on every push. Works with next-intl, next-i18next, and the App Router — no config file needed.

Install Lokali on your Next.js repo → Audit your repo

What Lokali detects in Next.js repos

Lokali watches these exact glob patterns. When a push changes any of them, a translation PR is opened automatically — no workflow YAML, no setup beyond installing the GitHub App.

next-intl / messages
messages/*.json messages/**/*.json
next-i18next / public
public/locales/*/*.json public/locales/**/*.json
App Router / locale segments
locales/**/*.json src/locales/**/*.json
Legacy / custom paths
i18n/**/*.json translations/**/*.json

What Lokali sees → what it opens as a PR

You push a change to messages/en.json. Lokali opens a PR adding the translated strings for every configured locale.

messages/en.json (source)
{
  "nav": {
    "home": "Home",
    "pricing": "Pricing",
    "docs": "Documentation"
  },
  "hero": {
    "title": "Ship faster",
    "cta": "Get started"
  }
}
messages/es.json (PR opened by Lokali)
{
  "nav": {
    "home": "Inicio",
    "pricing": "Precios",
    "docs": "Documentación"
  },
  "hero": {
    "title": "Publica más rápido",
    "cta": "Comenzar"
  }
}

↑ Same for fr.json, de.json, ja.json, pt.json — one PR, all locales, ready to merge.


See it in action

A real translation PR on a Next.js demo app — opened by Lokali on a push, no manual work.

🔀
Polsia-Inc / lokali-demo-app
Next.js SaaS app with 25 realistic strings. Lokali opened translation PRs for es, fr, de, ja, pt automatically after the first push. Zero manual steps.

Add Lokali to your Next.js repo

Install takes 30 seconds. First translation PR arrives on your next push.

Install Lokali on GitHub → Full setup guide → Audit your repo first

Also works with