.vtt.
Source file
Save this example aslocales/en-US/messages.vtt.
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
-
Each cue is one translation unit with a sequential key such as
vtt.0001. - Cue identifiers, timing, positioning, and settings are preserved. Timestamps and named cue identifiers supply context.
-
WEBVTTheaders andNOTE,STYLE, andREGIONblocks remain unchanged. - Writeback keeps cue counts aligned with the template. Review reading speed and line length separately.
Next steps
- Check translations before committing generated files.
- Local translation workflow explains repeat runs.
- Browse all file formats.

