Manage internationalization for your zopio
project
i18n
command helps you manage internationalization (i18n) for your zopio
project. This command provides tools for creating, updating, and managing translations across multiple languages.
Option | Description |
---|---|
-i, --init | Initialize internationalization for your project |
-a, --add <locale> | Add a new locale to your project |
-e, --extract | Extract translation keys from source files |
-s, --sync | Synchronize translation files across all locales |
-c, --check | Check for missing translations |
-h, --help | Display help for command |
zopio
uses the following configuration files:
zopio
uses next-international for middleware and next-intl for client-side translations. Here’s how to use translations in your components:
i18n-analyze
- Analyze translation coverage across locales (plugin command)