Skip to content

Re-baseline translation status and make third-party notices passthrough - #431

Merged
mlonsk merged 1 commit into
mainfrom
chore/translation-baseline
Oct 16, 2026
Merged

mlonsk merged 1 commit into
mainfrom
chore/translation-baseline

Conversation

@mlonsk

@mlonsk mlonsk commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator

Why

Crowdin merges (#400, #426, #429, ...) never updated localizedContent/{lang}/.translation-status.json. The recorded hashes were stale, so with TRANSLATED_ENV=production the next push to main would have re-translated 186 (es) and 185 (zh) whole files, about 3.83M characters in total. Many of those files were already current.

Changes

  • Status files: re-seeded with translate-content.py --baseline --overwrite-baseline at current main (after Crowdin New Crowdin updates #429). --repair-existing was not used, so no translation file changed.
  • security/third-party-notices.md: added to translation.passthrough. It is copied from English and never translated. The English copy is committed for es and zh with status copied.
  • get_scoped_sources: passthrough patterns now take precedence over sources. Without this, **/*.md kept the notices page in scope and the passthrough entry had no effect. A self-test check covers it.
  • README: passthrough description updated.

Crowdin merges never updated .translation-status.json, so the hashes were
stale and the first production run would have re-translated 186 (es) and
185 (zh) whole files. Re-seed both status files with --baseline at current
main (after Crowdin #429).

Copy security/third-party-notices.md from English instead of translating it.
Passthrough patterns now take precedence over sources, so a file matched by
both is copied, never translated.
@github-actions

Copy link
Copy Markdown

Azure Static Web Apps: Your stage site is ready! Visit it here: https://delightful-mud-081affe03-431.westeurope.azurestaticapps.net

@mlonsk
mlonsk requested a review from Metallist1 October 16, 2026 12:22
@github-actions

Copy link
Copy Markdown

Azure Static Web Apps: Your stage site is ready! Visit it here: https://delightful-mud-081affe03-431.westeurope.azurestaticapps.net

@mlonsk
mlonsk merged commit f9d4877 into main Oct 16, 2026
14 checks passed
@mlonsk
mlonsk deleted the chore/translation-baseline branch October 16, 2026 13:19
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