Skip to content

chore(i18n): sync translations from Crowdin - #919

Closed
codeswhat-crowdin-sync[bot] wants to merge 1 commit into
dev/v1.7from
l10n_crowdin
Closed

codeswhat-crowdin-sync[bot] wants to merge 1 commit into
dev/v1.7from
l10n_crowdin

Conversation

@codeswhat-crowdin-sync

Copy link
Copy Markdown
Contributor

Automated sync from Crowdin. Review wording, then merge.

@vercel

vercel Bot commented Aug 28, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
drydock-website Ready Ready Preview Aug 28, 2026 3:32pm
drydockdemo-website Ready Ready Preview Aug 28, 2026 3:32pm

@scttbnsn

Copy link
Copy Markdown
Contributor

Closing this. It isn't a translation problem, it's the sync reverting work.

Against the current dev/v1.7 the locale JSON half is fine: 272 lines added, nothing deleted, and it's the 11 action-policy keys that only ever existed in the English catalog. The other 1392 lines are all six translated READMEs going back to English. readme-translations.test.ts failed 30 assertions on it, which is the only reason this shows up as red rather than a clean sync.

Cause is #804. Turning off content_segmentation fixed the block-reordering corruption, but it also renumbered every segment, 446 down to 382, so every stored translation was orphaned from the string it belonged to. Crowdin exports source text for anything it can't match, and that's what landed here.

Fixed in #920: README.md is out of crowdin.yml entirely. Those six files are hand-authored in the repo and asserted phrase by phrase at every cut, nobody translates them in Crowdin, so the mapping could only ever produce this PR. Re-adding it now fails CI.

Same PR translates the 11 keys properly in all 16 locales and flips key-parity to fail on a missing key instead of waiting for a sync to fill it with English.

Next scheduled sync will recreate this branch without the README churn.

@scttbnsn scttbnsn closed this Aug 28, 2026
scttbnsn added a commit that referenced this pull request Aug 28, 2026
Korean picks a particle by whether the preceding syllable ends in a
consonant or a vowel. Drydock reads 드라이독, which ends in ㄱ, so it takes
이/은/을/과/으로 and never 가/는/를/와/로. CodeRabbit caught `Drydock가` in
the actionPolicyTooltip string added by the previous commit; two more were
already in the catalog beside it, in updateStatus.summary.notify and in
configView, both from Crowdin. Every other Drydock in ko already used the
consonant forms, so these three were the outliers.

Nothing flagged them, which is the same shape as the gap this branch is
about: key-parity compares structure, placeholder-parity compares braces,
and no-raw-text only looks for English leaking into templates. The new
korean-particles gate reads every ko namespace and fails on a vowel-form
particle attached to a name whose Korean reading ends in a consonant, with
the offending line and the correction. It is deliberately keyed on a short
list rather than applied to every proper noun, because Docker reads 도커 and
is vowel-final, so `Docker가` is correct and a blanket rule would flag it.

The two Crowdin-stored strings may come back on a sync: re-uploading a
corrected translation adds a candidate alongside the stored one instead of
replacing it, the same behaviour that produced #919 on the READMEs. The
gate is what makes that loud instead of silent.
scttbnsn added a commit that referenced this pull request Aug 28, 2026
…ey gaps (#920)

* fix(i18n): stop Crowdin reverting the translated READMEs, close the key gaps

Two failures with the same root: the sync was trusted to fill in what the
repo had not translated, and what it actually fills in is verbatim English.

README.md was registered as a Crowdin source, so every sync round-tripped
the six hand-translated READMEs through the project. Turning off content
segmentation in #804 to fix an earlier corruption renumbered every segment,
which orphaned the stored translations from the strings they belonged to,
and Crowdin exports source text for anything it cannot match. The next sync
opened as PR #919 deleting 1392 lines of translated README across all six
files, caught only because readme-translations.test.ts failed 30 assertions.
Crowdin no longer maps README.md: those files are hand-authored in-repo and
asserted phrase by phrase at every cut, nobody translates them in Crowdin,
and the mapping only ever produced a PR that undid the work. The workflow's
push trigger drops README.md for the same reason, and the assertion in
crowdin-workflow.test.ts is inverted so re-adding the mapping fails CI.

The eleven action-policy keys are the other half. The Auto/Manual/Blocked
badge and its three state tooltips, on both the update-status panel and the
per-trigger rows, were added to the English catalog only in #761, so they
rendered in English for every non-English user from that release on. Now
translated in all 16 locales, matching each file's existing terminology
rather than a general rule, with the dd.action.* label names left literal.

key-parity.spec.ts used to tolerate a key present in en and absent from a
locale, on the documented grounds that "Crowdin fills after push". It does
not, and a gap filled with English is worse than an open one because it
reads as a finished translation to every later check. That direction now
fails, with the offending locale/namespace/key listed. The cost is that a
PR adding a UI string has to translate it in the same change, which is the
intended trade.

* fix(i18n): use the consonant-form Korean particle after Drydock

Korean picks a particle by whether the preceding syllable ends in a
consonant or a vowel. Drydock reads 드라이독, which ends in ㄱ, so it takes
이/은/을/과/으로 and never 가/는/를/와/로. CodeRabbit caught `Drydock가` in
the actionPolicyTooltip string added by the previous commit; two more were
already in the catalog beside it, in updateStatus.summary.notify and in
configView, both from Crowdin. Every other Drydock in ko already used the
consonant forms, so these three were the outliers.

Nothing flagged them, which is the same shape as the gap this branch is
about: key-parity compares structure, placeholder-parity compares braces,
and no-raw-text only looks for English leaking into templates. The new
korean-particles gate reads every ko namespace and fails on a vowel-form
particle attached to a name whose Korean reading ends in a consonant, with
the offending line and the correction. It is deliberately keyed on a short
list rather than applied to every proper noun, because Docker reads 도커 and
is vowel-final, so `Docker가` is correct and a blanket rule would flag it.

The two Crowdin-stored strings may come back on a sync: re-uploading a
corrected translation adds a candidate alongside the stored one instead of
replacing it, the same behaviour that produced #919 on the READMEs. The
gate is what makes that loud instead of silent.

This branch was successfully deployed

2 active deployments
Preview – drydockdemo-website — f780090b Deployed Aug 28, 2026 by vercel[bot]
Preview – drydock-website — f780090b Deployed Aug 28, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants