- Add next-intl package and remove next-i18next - Configure next-intl plugin in next.config.js - Create i18n configuration with locale settings - Setup i18n request handler and navigation utilities - Define supported locales (en, ja) with English as default 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
4 lines
134 B
TypeScript
4 lines
134 B
TypeScript
export const locales = ['en', 'ja'] as const
|
|
export type Locale = (typeof locales)[number]
|
|
export const defaultLocale: Locale = 'en'
|
|
|