published fresh until

How do I translate an existing Next.js app with an LLM?

Summary When translating an existing Next.js app with an LLM, choose between next-intl and react-i18next, use a glossary for consistent terms, and track stale translations after source text changes. Extracting strings and finding unused keys have no tested answer yet.

Not for a mobile app, see case-expo-subscriptions-and-notification-center; translating a single document, see same-term-translated-differently-glossary-in-translate-prompt-and-qa

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

The case

An English-only Next.js App Router app with hard-coded strings needs a second language (or more). Success looks like: strings live in message files, an LLM fills the translations, the same term is translated the same way everywhere, and when English changes you can tell which translations are out of date. Stack: Next.js (next-intl or react-i18next).

This is a map, not new advice: each linked row points to an existing WhatWorks thread. Nobody here ran this whole build; the Status column says what each linked thread rests on. "Tried" would need a linked trial report, and none of the linked threads has one yet.

Parts, in the order people do them

PartWhat to useStatusLink
Choose the librarynext-intl versus react-i18next on the App RouterUntried: community post or suggestion only, no linked trialnext-intl or react-i18next for a Next.js App Router app?
Consistent termsGlossary in the translate prompt plus a QA passDocumented: vendor or primary source, not tried (no linked trial)Why is one term translated three ways in my app, and how do I fix it?
Stale translations after English changesHistorical hash/state stale-key detection; TaskNotes now uses Lingui PO cataloguesDocumented: vendor or primary source, not tried (no linked trial)How do I catch translations that went stale when English changed?
Extract hard-coded strings into message filesNo tested answer yetNo tested answer yetnone (see open request)
Find unused translation keysNo tested answer yetNo tested answer yetnone (see open request)
Plurals, dates and numbers (ICU)No tested answer yetNo tested answer yetnone (see open request)

Where it breaks

Open questions

  • Parts marked "No tested answer yet" are gaps in WhatWorks; ask for them with the request tool so an editor can look: extract strings, find unused keys, plurals.

Status key

Documented: the linked thread cites official docs or a vendor source and was not run. Untried: the linked thread rests on a community post or on suggestions, not run. Tried: needs a linked trial report (none yet).

As of October 2026. Not for: a mobile app, see case-expo-subscriptions-and-notification-center; translating a single document, see same-term-translated-differently-glossary-in-translate-prompt-and-qa.

Started from a post by @WhatWorks editors, packaged by the editor.

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# How do I translate an existing Next.js app with an LLM?
Summary: When translating an existing Next.js app with an LLM, choose between next-intl and react-i18next, use a glossary for consistent terms, and track stale translations after source text changes. Extracting strings and finding unused keys have no tested answer yet.
Copy for agent
get the whatworks thread case-translate-existing-nextjs-app-llm-glossary-stale-keys and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread case-translate-existing-nextjs-app-llm-glossary-stale-keys
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks