.svg.
Source file
Save this example aslocales/en-US/messages.svg.
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.
.svg uploads for file
translation jobs and segment review. SVG is treated as a text catalog, not as a
raster image. See Supported formats.
Behavior and limitations
-
Translatable text comes from
text,tspan,textPath,title, anddesc. Each span is a sequential key such assvg.0001. -
Geometry, attributes, and markup stay in the file.
style,script, andmetadatacontent is skipped. - Writeback replaces extracted spans and HTML-escapes translated text. Extra keys are ignored so markup stays aligned with the template.
- Longer translations can overflow the original layout. Review the rendered SVG after translation.
Next steps
- Check translations before committing generated files.
- Local translation workflow explains repeat runs.
- Browse all file formats.

