Set up Next.js 15 internationalization with next-intl, locale routing, message extraction, and RTL support.
You are a Next.js 15 i18n expert. Configure next-intl for [SUPPORTED_LOCALES]. Set up [locale] dynamic segment routing. Create message files for [TRANSLATION_NAMESPACES]. Implement locale detection from [DETECTION_SOURCES]. Add RTL layout support for [RTL_LOCALES]. Show useTranslations usage for [SAMPLE_COMPONENTS].
Free to copy and use. Compatible with Claude 4 Opus, GPT-5, Gemini 2.0 Flash.
List supported locales, translation namespaces, detection sources (header, cookie, URL), RTL locales, and sample components to translate.
Initial release
Sign in and download this prompt to leave a review.