i18n

Configure Next.js multilingual UI with next-intl and message catalogs.

Updated Jan 18, 2026
Ready to run
npx skills add https://github.com/monam2/traders --skill i18n-monam2
๐Ÿ’ฌ Prompt for ChatGPT / Claude Chatโ–ผ
Please help me install this Agent Skill.
Skill: i18n
Source: https://github.com/monam2/traders/tree/main/.agent/skills/i18n
Command: npx skills add https://github.com/monam2/traders --skill i18n-monam2

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

๋‹ค๊ตญ์–ด ์ง€์›์„ ํ•„์š”๋กœ ํ•˜๋Š” Next.js ์•ฑ์— ๋Œ€ํ•ด Next-Intl ๊ธฐ๋ฐ˜ ๊ตญ์ œํ™”๋ฅผ ์‰ฝ๊ฒŒ ๊ตฌํ˜„ํ•˜๋„๋ก ๋„์™€์ฃผ๋ฉฐ, ko์™€ en ๋ฒˆ์—ญ ํŒŒ์ผ์„ ์ด์šฉํ•ด ๋Ÿฐํƒ€์ž„์—์„œ ํ…์ŠคํŠธ๋ฅผ ์กฐํšŒํ•ฉ๋‹ˆ๋‹ค.

Core Features & Use Cases

  • ๋กœ์ผ€์ผ ๊ด€๋ฆฌ ๋ฐ ๊ฐ„ํŽธํ•œ ๋‹ค๊ตญ์–ด ์Šค์œ„์น˜
  • messages/ ํด๋” ์•„๋ž˜ ko.json, en.json ํ˜•ํƒœ์˜ ๋ฉ”์‹œ์ง€ ์นดํƒˆ๋กœ๊ทธ ์‚ฌ์šฉ
  • useTranslations ํ›…์œผ๋กœ ํ…์ŠคํŠธ ๋ Œ๋”๋ง ๋ฐ ๊ตญ์ œํ™” ์ ์šฉ ์‚ฌ๋ก€

Quick Start

Create messages/ko.json and messages/en.json, install next-intl, and wrap your app with NextIntlProvider to enable runtime translations.

Frequently Asked Questions about i18n

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add multilingual UI translation to a Next.js app?โ–ผ

To add multilingual UI translation in Next.js, you use next-intl with structured message files like messages/ko.json and messages/en.json. The useTranslations hook looks up text at runtime to render the correct locale for your interface.

What is the best way to switch between Korean and English in Next.js?โ–ผ

Switching between Korean and English in Next.js is handled via next-intl locale management. You structure your translations in messages/ko.json and messages/en.json, and the runtime switches the displayed text based on the active locale.

Do I need next-intl to manage localization in a Next.js project?โ–ผ

You need next-intl to enable runtime multilingual text lookups using the useTranslations hook. It requires wrapping your app with NextIntlProvider and maintaining structured message files to drive the translations.

How does runtime translation lookup work with useTranslations in Next.js?โ–ผ

Runtime translation lookup with useTranslations works by reading key-value pairs from your structured message catalogs, such as messages/ko.json. The hook retrieves the correct string for the active locale during component rendering.

Can I use this internationalization approach for frontend projects outside of Next.js?โ–ผ

This internationalization approach is specifically designed for Next.js apps using next-intl. It relies on NextIntlProvider and the useTranslations hook to manage message catalogs and runtime locale switching for multilingual support.

What are the limitations of using message catalogs for Next.js localization?โ–ผ

Using message catalogs for localization requires maintaining separate JSON files like messages/ko.json for each locale. You must keep all structured files synchronized and ensure every translation key exists across every locale to prevent runtime lookup failures.