Internationalization
Multi-language support with next-intl.
Overview
DirectoryKit supports multiple languages via next-intl.
i18n is disabled by default. Enable it in config/features.config.ts by setting i18n: true.
How it works
- Translation files live in
messages/{locale}.json middleware.tshandles locale detection and routing- Components use
useTranslations()hook for translated strings LanguageSwitchercomponent allows users to change language
Configuration
See i18n Config for setup instructions.