Redoing Translations
How to make the agent retranslate content, either for a few files or for an entire project, after you change the source, terminology, instructions, or validation rules.
The agent skips any file it considers current. To redo a translation, reset the state recorded for that file in the translation index. Once a file appears missing or stale again, the next translation job processes it.
Retranslate Specific Files
To force the agent to retranslate a file, delete its recorded state from .contentfusion/i18n/translation-index.xml:
- Delete the
<entry>for that file in a specific language. The file then becomes missing for that language and is retranslated during the next job. - Delete every
<entry>for the file to retranslate it into all languages.
Start Over After Changing Your Guidance
If a translation does not produce the result you want, you can often fix the cause once and then regenerate the affected content. For example, you might correct your terminology file, refine agent-instructions.md, or adjust your validation rules. These changes do not make existing translations stale by themselves, because staleness tracks only changes in the English source. As a result, a normal job skips those files, so you need to reset their recorded state to have them processed again:
- To redo everything, delete the entire translation index or the part that covers the content you want to regenerate. Every recorded source file then becomes missing and is retranslated during the next job.
- To redo only part of the content, delete only the entries for the files or languages you want to regenerate.
Then run translation again and review the results as usual. See Reviewing Translations Before You Commit.