Skip to content

docs(landing): translate the API reference and build errors into Korean - #1056

Open
owjs3901 wants to merge 1 commit into
mainfrom
feat/ko-docs-api
Open

owjs3901 wants to merge 1 commit into
mainfrom
feat/ko-docs-api

Conversation

@owjs3901

Copy link
Copy Markdown
Contributor

Translates the API reference and the Build Errors page into Korean (#584, infra #881).

  • Adds page.ko.mdx beside every /docs/api/* page (box, button, center, css, custom-shorthands, flex, grid, group-selector, image, input, selector, style-props, text, v-stack) and /docs/build-errors, and registers them in src/i18n/pages.ts (sorted, DocsLayout).
  • Headings, prose, table descriptions and metadata are translated; API/package names, numbers, external links and inline code are unchanged. Every code fence is byte-identical to English, except a few explanatory // comments; css, text, json, tsx-error fences and anything after a conformance / probe marker are untouched. The literal compiler messages in Build Errors stay English.
  • English pages only gain languages alternates in their metadata (as the translation guide asks); their content does not change.
  • docs-conformance.test.ts checks the Korean pages that carry conformance markers too (a marked page outside CHECKED_PAGES fails the test).
  • e2e/landing-i18n.spec.ts used /docs/build-errors as the untranslated example. It now asserts the translated /ko/docs/build-errors, and the English-fallback search check uses /components/button, which already serves as the fallback example in the no-JS test.

Closes #839
Closes #840
Closes #841
Closes #842
Closes #843
Closes #844
Closes #845
Closes #846
Closes #847
Closes #848
Closes #849
Closes #850
Closes #851
Closes #852
Closes #853


API 레퍼런스와 빌드 오류 페이지를 한국어로 번역합니다 (#584, 인프라 #881).

  • /docs/api/* 전 페이지(box, button, center, css, custom-shorthands, flex, grid, group-selector, image, input, selector, style-props, text, v-stack)와 /docs/build-errors에 page.ko.mdx를 추가하고 src/i18n/pages.ts에 정렬된 순서로(DocsLayout) 등록했습니다.
  • 제목, 본문, 표 설명, 메타데이터를 번역했고 API·패키지 이름, 숫자, 외부 링크, 인라인 코드는 그대로 두었습니다. 코드 블록은 일부 설명용 // 주석을 제외하면 영어와 바이트 단위로 같으며, css·text·json·tsx-error 블록과 conformance/probe 마커 뒤의 예제는 손대지 않았습니다. 빌드 오류 페이지의 실제 컴파일러 메시지는 영어 그대로입니다.
  • 영어 페이지는 번역 가이드대로 메타데이터에 languages alternates만 추가했으며 본문은 바뀌지 않습니다.
  • docs-conformance.test.ts가 conformance 마커가 있는 한국어 페이지도 검사합니다(CHECKED_PAGES에 없는 마커 페이지는 테스트가 실패합니다).
  • e2e/landing-i18n.spec.ts는 /docs/build-errors를 미번역 예시로 쓰고 있었습니다. 이제 번역된 /ko/docs/build-errors를 검증하고, 영어 폴백 검색 확인은 no-JS 테스트에서 이미 폴백 예시로 쓰는 /components/button을 사용합니다.

🤖 Generated with Claude Code

Add page.ko.mdx beside every /docs/api/* page and /docs/build-errors,
register them in src/i18n/pages.ts and give the English pages their
language alternates. Code examples stay byte-identical; the Korean pages
with conformance markers are checked by docs-conformance like the English
ones. The i18n e2e used /docs/build-errors as its untranslated example; it
now checks the translated page and uses /components/button for the
English fallback in search.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Nov 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment