.csv.
Source file
Save this example aslocales/en-US/messages.csv.
Configure your files
Use thisi18n.yml for the example, or add its file mapping to your existing bucket.
See path templates for other layouts.
Translate
Install the CLI and setOPENAI_API_KEY in your
project’s .env.local or shell. You can also configure another
AI provider.
Behavior and limitations
-
The example uses a header row with
keyandvalue. CSV quoting handles commas and multiline values. - Locale-column layouts are also supported. Source and target locales select the corresponding columns.
- Existing rows retain their order; newly appended keys are sorted. CSV quoting and line endings may be normalized.
-
This page covers translation files. For
status --output csv, see Command output.
Next steps
- Check translations before committing generated files.
- Local translation workflow explains repeat runs.
- Browse all file formats.

