원클릭으로
nextjs
Next.js App Router setup guide for Better Translate routing, server helpers, and optional React hooks.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Next.js App Router setup guide for Better Translate routing, server helpers, and optional React hooks.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Extract source strings, generate locale files, and remove unused keys for Better Translate projects.
Expo and React Native integration guide using Better Translate React support.
React and Expo integration guide for Better Translate providers, hooks, and typed translation access.
Package map and reading order for Better Translate product skills.
Guide for combining Better Translate packages without duplicating translation ownership.
Smallest Better Translate setup for plain TypeScript, Node.js, Bun, APIs, and shared libraries.
| name | nextjs |
| description | Next.js App Router setup guide for Better Translate routing, server helpers, and optional React hooks. |
Use this guide when the app is a Next.js App Router app.
@better-translate/core@better-translate/nextjs@better-translate/react for client-side hooks and providersThe smallest practical Next.js setup usually has these files:
src/lib/i18n/config.tssrc/lib/i18n/routing.tssrc/lib/i18n/request.tssrc/lib/i18n/server.tssrc/lib/i18n/navigation.tssrc/proxy.tsconfig.ts creates the core translatorrouting.ts defines the locale route shaperequest.ts exposes the translator to the Next.js adapterserver.ts creates request-aware helpers like getTranslations()navigation.ts creates locale-aware links and router helpersproxy.ts redirects requests into locale-prefixed URLsCreate and export the typed core translator once, then let the Next.js adapter and optional React hooks read from it.
useTranslations<typeof translator>()Do not replace the core package with the Next.js package.
Next.js depends on the translator you created in @better-translate/core.
Add @better-translate/react only when client components need:
useTranslations()If you add React hooks, use the same exported translator type that the rest of the app uses so key and locale autocomplete stay aligned.