Internationalization Command
Thei18n command helps you manage internationalization (i18n) for your zopio project. This command provides tools for creating, updating, and managing translations across multiple languages.
Usage
Options
Examples
Initialize internationalization
Add a new locale
Extract translation keys
Synchronize translation files
Configuration
The internationalization system inzopio uses the following configuration files:
i18nConfig.ts
languine.json
Integration with Next.js
zopio uses next-international for middleware and next-intl for client-side translations. Here’s how to use translations in your components:
Server Components
Client Components
Related Commands
i18n-analyze- Analyze translation coverage across locales (plugin command)