Skip to content

Translate the Korean and Serbian (Latin) leftover language keys with reviewed machine translation - #15292

Merged
cderv merged 2 commits into
mainfrom
feature/l10n-ko-srlatn-leftovers
Nov 4, 2026
Merged

cderv merged 2 commits into
mainfrom
feature/l10n-ko-srlatn-leftovers

Conversation

@cderv

@cderv cderv commented Nov 4, 2026

Copy link
Copy Markdown
Member

Six language keys have a translation in every other base language but not in one: title-block-modified in Korean (the "Modified" label in a document's title block), and code-links-title, launch-binder-title, launch-dev-container-title, listing-page-field-wordcount and listing-page-words in Serbian (Latin) (the code links heading and its two launch links, and the word count column label and value in listings). On a Korean or Serbian (Latin) page those strings show in English. This fills them as planned in #14822 (comment), in one PR because there is no per-key sub-issue to track. It follows the per-key PRs merged earlier, such as #15284 and #15285.

How the values were made

Every value below is AI-generated, not written by a native speaker.

Each key got a machine translation with a per-key context describing where the string appears and what it means: a date label in the same form as title-block-published for Korean, a short imperative for the two launch links, a plural noun phrase for the heading, a quantity label for the column, and a count with a plural noun for listing-page-words (one string serves every count). The same language file's related strings were passed for vocabulary. "Binder" and "Dev Container" are product names and stay untranslated. Two independent AI reviewers then checked the values without seeing each other's output. For Serbian (Latin) they also got the same key in sl, sk, cs and pl as a reference only (pl was left out for listing-page-field-wordcount, whose Polish value reads as a counter tool). A value is committed only when both accept it, or both propose the same correction.

Language Key Value
ko title-block-modified 수정
sr-Latn code-links-title Linkovi ka Kodu
sr-Latn launch-binder-title Pokreni Binder
sr-Latn launch-dev-container-title Pokreni Dev Container
sr-Latn listing-page-field-wordcount Broj reči
sr-Latn listing-page-words {0} reči

Two values are not the machine translation as returned. For Korean, the service returned "수정됨", a past-participle form, and both reviewers proposed the bare noun "수정" independently, which matches title-block-published ("공개"). For code-links-title, the service returned "Linkovi ka kodu" and both reviewers proposed title casing, "Linkovi ka Kodu", like the file's other headings ("Drugi Linkovi", "Izvorni Kod"). The other four are the machine translation as returned, accepted by both reviewers.

Not filled

tools-download for Serbian (Latin) is a different key and stays in tests/unit/language-known-gaps.yml; this PR does not touch it.

I rendered a website with lang: sr-Latn containing a listing with the word count field, and a page with Binder and Dev Container code links, and a Korean page with date-modified. The listing shows "1 500 reči" under the column "Broj reči" with no literal {0}, the code links list shows "Linkovi ka Kodu", "Pokreni Binder" and "Pokreni Dev Container", and the Korean title block shows "공개" and "수정" side by side. The evidence will be on #14822.

Native speakers are welcome to improve any of these values.

Part of #14822

Checklist

I have (if applicable):

  • referenced the GitHub issue this PR closes
  • updated the appropriate changelog in the PR
  • ensured the present test suite passes
  • added new tests
  • created a separate documentation PR in Quarto's website repo and linked it to this PR
AI-assisted PR
  • AI tool used: Claude Code, Codex, a machine translation service
  • Codebase grounding: local clone
  • Human review: I have reviewed, tested, and verified the AI-generated content before submitting.

Note: autonomous AI agents submitting PRs without human oversight are not permitted — see the Code of Conduct.

@posit-snyk-bot

posit-snyk-bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Collaborator

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Open Source Security 0 0 0 0 0 issues
✅ Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

cderv added 2 commits November 4, 2026 15:53
…reviewed machine translation

The language parity test lists one Korean key (`title-block-modified`) and five Serbian (Latin) keys (`code-links-title`, `launch-binder-title`, `launch-dev-container-title`, `listing-page-field-wordcount`, `listing-page-words`) as missing, so those strings fell back to English.

Each value comes from a machine translation service with a per-key context and was accepted only after two independent AI reviewers, working blind from each other, agreed on it. For two values both reviewers flagged the machine output with the same replacement, and the replacement is what is committed: Korean `title-block-modified` follows the noun form of `title-block-published`, and Serbian `code-links-title` follows the title casing of the file's other headings. "Binder" and "Dev Container" stay untranslated as product names.
@cderv
cderv force-pushed the feature/l10n-ko-srlatn-leftovers branch from 3755928 to e718450 Compare November 4, 2026 14:55
@cderv
cderv merged commit 089ba53 into main Nov 4, 2026
52 checks passed
@cderv
cderv deleted the feature/l10n-ko-srlatn-leftovers branch November 4, 2026 15:29
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