SVG troubleshooting
See also Images & Screenshots troubleshooting.
- SVG sources and outputs in the same directory — keep
svg.sourcePathandsvg.outputDirseparate. - Absolute Docusaurus static URLs for colocated SVGs — use relative
../assets/paths from the start. - Unexpected closing tag
textvsgafter translation — Inkscape often emits empty self-closing<text … />next to real labels. Older extractor regexes spanned those through the next</text>and wrote a stray closer. Upgrade and re-runtranslate-svg(orsync) to regenerate the locale SVG. - Romanized or Latin-only labels in Hindi, Arabic, CJK, or Cyrillic SVGs — the same writing-system policy as documents applies; wrong-script cache rows are rejected on the next
translate-svg/sync. Re-run with global--debug-failedto write aFAILED-TRANSLATIONlog undercacheDirfor each discarded model (prompt, raw output, script error), not only when every model fails. See Hindi, Arabic, CJK, or Cyrillic output is romanized.