Skip to content

Add translation guardrails and locale content directories - #372

Merged
crugas merged 1 commit into
TD-21-Spanishfrom
TD-21-enable-i18n
Nov 16, 2026
Merged

crugas merged 1 commit into
TD-21-Spanishfrom
TD-21-enable-i18n

Conversation

@crugas

@crugas crugas commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Add guardrails to the translation prompt, project doc, and glossary based on committee feedback from the Dutch translation PR:

  • The agent communicates with collaborators only in English; the target language appears only in the translated page and that language's glossary column. Translator notes are written in English.
  • Each run edits only the target language's section of the glossary.
  • A run changes only the translated page, the glossary, and that language's notes log; collaborators check this before committing.

Also add src/content/docs/{nl,fr,de,ja,es,uk}/.gitkeep so each language's content directory exists in the repo before any translations are added, and update the project doc to match.

Add guardrails to the translation prompt, project doc, and glossary
based on committee feedback from the Dutch translation PR:

- The agent communicates with collaborators only in English; the
  target language appears only in the translated page and that
  language's glossary column. Translator notes are written in English.
- Each run edits only the target language's section of the glossary.
- A run changes only the translated page, the glossary, and that
  language's notes log; collaborators check this before committing.

Also add src/content/docs/{nl,fr,de,ja,es,uk}/.gitkeep so each
language's content directory exists in the repo before any
translations are added, and update the project doc to match.
@crugas
crugas merged commit e1c0fc8 into TD-21-Spanish Nov 16, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants