Export for i18next
CLI usage
Section titled “CLI usage”Export explicitly to a directory (pretty-print with --format):
collingo export i18next -d <dir> [--format]With a workspace template, set kind to i18next and directory (for example src/locales) in .collingo.json, then run collingo export. See Configuration. Use collingo env to verify the resolved project, template kind, and export directory.
Output
Section titled “Output”For each language in the Collingo project, the export creates <locale>/translation.json (for example de-DE/translation.json). Keys in the JSON are Collingo group paths plus the entry technical name (for example base.footer.labelCopyright).
Example: React and i18next
Section titled “Example: React and i18next”For a full walkthrough (Vite, i18next.ts, useTranslation, and optional i18next-http-backend), see Setup with React and i18next.