next-intl
Pack path:
next-intl/
Skills
Section titled “Skills”- Next Intl Messages and Formatting — Author and consume next-intl messages with ICU, rich text, typed arguments, validation, and Intl formatting across Next.js components. Use when tasks mention useTranslations, useFormatter, message catalogs, t.rich, t.markup, numbers, dates, lists, relative time, message validation, or extracted messages.
- Next Intl Routing and Navigation — Set up and maintain next-intl locale routing and navigation in Next.js App Router. Use when tasks mention defineRouting, createMiddleware or proxy.ts, createNavigation, locale prefixes, localized pathnames, domains, locale switchers, alternate links, locale cookies, or CMS-driven localized URLs.
- Next Intl Server Runtime — Configure next-intl request runtime and server-side integration in Next.js App Router. Use when tasks mention i18n/request.ts, getRequestConfig, requestLocale, setRequestLocale, getTranslations, NextIntlClientProvider inheritance, Server Components, Server Actions, metadata, route handlers, sitemap, manifest, OG images, error files, or testing translated components.
- Next Intl Workflows and Tooling — Set up next-intl tooling and durable localization workflows for Next.js. Use when tasks mention createNextIntlPlugin, TypeScript augmentation, createMessagesDeclaration, useExtracted, getExtracted, precompile, message loading strategies, missing-message handling, Crowdin, or next-intl migration and upgrade decisions.