Skip to content

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

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 19, 2026

Copy link
Copy Markdown

Deployment failed for project drydock-website with the following error:

Resource is limited - try again in 24 hours (more than 100, code: "api-deployments-free-per-day").

Learn More: https://vercel.com/codeswhat?upgradeToPro=build-rate-limit

@vercel

vercel Bot commented Aug 19, 2026

Copy link
Copy Markdown

Deployment failed for project drydockdemo-website with the following error:

Resource is limited - try again in 24 hours (more than 100, code: "api-deployments-free-per-day").

Learn More: https://vercel.com/codeswhat?upgradeToPro=build-rate-limit

@scttbnsn

Copy link
Copy Markdown
Contributor

Holding this one - Quality: Test & Coverage is failing and the failures are real. Reproduced locally off l10n_crowdin (2fc35e8f): 12 failed / 64 passed in readme-translations.test.ts. Four distinct problems, none of them a strict assertion:

1. English source text spliced into translated copy. In README.de.md the "Abhängigkeitsbewusste Updates" bullet got replaced with the English "Security and lifecycle hardening — bounded authentication, agent, log, WebSocket…" while keeping the #219 dependency-graph link. The bullet now says one thing and links to another. Same class in zh-CN: …回滚。</em> Backup, health check, and rollback handled.</em>.

2. Broken HTML in zh-CN. <summary>…</summary></summary> (duplicate close), a stray extra </em> (3 opens, 4 closes), and a <details> block moved after its own </details>. That renders as garbage on GitHub.

3. Frozen release history renumbered. German Highlights von v1.6.0-rc.13 became rc.12, and rc.12 became rc.11. Shipped-release history doesn't get rewritten - this silently relabels what each RC contained.

4. Retired emoji re-injected. - [🔄 Migration], - [🗺️ Roadmap], | 🚀 Schnellstart |. Checked all three sides: the English source has none, the current German has none, only this PR's output has them. That's stale translation memory from a pre-emoji-sweep README.

The fix isn't in this branch. Editing the six files here would just get re-corrupted on the next sync. upload_sources: true did push the current source, but the stored translations are keyed to old segments and TM/pre-translate refilled the shifted ones with mismatched historical content - so the repair is in the Crowdin project itself.

Worth flagging that this probably isn't new: the run before the pipeline was fixed produced the same shape (22 files, +417 vs +423 here), so l10n_crowdin has likely carried this the whole time. The sync being down was hiding a worse problem than the outage.

scttbnsn added a commit that referenced this pull request Aug 19, 2026
Crowdin defaults content_segmentation to 1. On a Markdown file that splits
the source into sentence-level segments and, per their own docs, routes the
translation upload through "experimental machine learning technology". On
README.md that reassembled the <details>/<summary> release-history blocks
out of order, emitted broken HTML (stray </summary>, orphaned </em>), and
spliced English source text into the German and zh-CN output while keeping
mismatched links.

What identified it: the UI locale JSON came through the same sync clean
(+256 lines, zero deletions, all 16 files valid), while the six READMEs
churned +169/-159. Segmentation does not apply to JSON, so the split ran
exactly along the boundary the setting predicts. The release-history blocks
were reordered rather than renumbered -- rc.13/rc.12/rc.11 in the source
came back rc.12/rc.11/rc.13 -- which is reassembly, not translation memory.

Also turned off in the Crowdin UI (file 39; 446 sentence segments -> 382
block ones, revision 6 -> 7) along with enabling Exclude code blocks, which
had been sending fenced code out for translation. This config entry is the
guard so a project re-create or a fresh upload cannot silently restore the
default.

Refs: #801
@vercel

vercel Bot commented Aug 19, 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 21, 2026 1:23pm
drydockdemo-website Ready Ready Preview Aug 21, 2026 1:23pm

@scttbnsn

Copy link
Copy Markdown
Contributor

Closing this one instead of merging. The segmentation fix in crowdin.yml re-imported the READMEs under block-level segments, which orphaned the existing sentence-keyed translations. This sync therefore reverts large blocks of all six translated READMEs to raw English source text. The locale JSONs in here are fine (segmentation doesn't apply to JSON) and will come back clean on the next sync.

Merging would ship English-as-translation, so the right order is: re-upload the existing translations against the new segment structure first, then let the next sync PR carry the result. Tracking that in a follow-up issue. The l10n_crowdin branch stays.

This branch was successfully deployed

2 active deployments
Preview – drydockdemo-website — b06530a6 Deployed Aug 21, 2026 by vercel[bot]
Preview – drydock-website — b06530a6 Deployed Aug 21, 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