Skip to content

feat(landing): translate the shared site shell into Korean - #1055

Open
owjs3901 wants to merge 5 commits into
mainfrom
feat/ko-shell
Open

owjs3901 wants to merge 5 commits into
mainfrom
feat/ko-shell

Conversation

@owjs3901

Copy link
Copy Markdown
Contributor

Summary

Translates the shared website shell into Korean and introduces the next-intl message catalogs that the home, showcase and component translations build on.

  • Catalogs: src/i18n/messages/en.json and ko.json, one namespace per component. src/i18n/request.ts merges the English defaults with the Korean overrides per namespace, and SiteLayout passes getMessages({ locale }) to NextIntlClientProvider. next-intl's AppConfig now types the message keys and the en | ko locales.
  • Header: desktop and mobile navigation, the search placeholder, and the theme and menu button accessible names. The server-rendered header reads them with getTranslations({ locale }); the client parts use useTranslations.
  • Sidebars: docs and components sidebar groups and page labels. Component and API names (Box, css, Button...) and product names stay as they are.
  • RightIndex: "Contents" and "Edit this page".
  • Search modal: loading and empty-state text.
  • Footer: no change. Its only English copy is the copyright line, which stays as is next to the existing Korean business details, and the logo has no alt text to translate.

English output is unchanged: every English label comes from en.json with the same text. The README translation guide now describes the catalogs as present, and the e2e tests that drive Korean pages use the Korean labels.

Closes #880

Verification

  • tsc --noEmit -p apps/landing/tsconfig.json, ESLint
  • bun run build in apps/landing (vinext static export)
  • Playwright: landing-i18n, landing-routes, landing-header, landing-accessibility (38 passed)

요약

웹사이트 공통 셸을 한국어로 번역하고, 홈·쇼케이스·컴포넌트 번역이 이어서 사용할 next-intl 메시지 카탈로그를 도입합니다.

  • 카탈로그: 컴포넌트마다 네임스페이스 하나를 두는 src/i18n/messages/en.json, ko.json을 추가합니다. src/i18n/request.ts가 네임스페이스별로 영어 기본값 위에 한국어 번역을 병합하고, SiteLayout이 getMessages({ locale })를 NextIntlClientProvider에 전달합니다. next-intl의 AppConfig로 메시지 키와 en | ko 로케일 타입을 지정합니다.
  • 헤더: 데스크톱·모바일 내비게이션, 검색 플레이스홀더, 테마·메뉴 버튼의 접근성 이름을 번역합니다. 서버에서 렌더링하는 헤더는 getTranslations({ locale })를, 클라이언트 부분은 useTranslations를 사용합니다.
  • 사이드바: 문서·컴포넌트 사이드바의 그룹과 페이지 이름을 번역합니다. 컴포넌트·API 이름(Box, css, Button 등)과 제품 이름은 그대로 둡니다.
  • RightIndex: "목차", "이 페이지 편집".
  • 검색 모달: 로딩 및 결과 없음 문구.
  • 푸터: 변경 없음. 남은 영어 문구는 저작권 표기뿐이며 기존 한국어 사업자 정보와 함께 그대로 둡니다. 로고에는 번역할 alt 텍스트가 없습니다.

영어 출력은 바뀌지 않습니다. 모든 영어 라벨은 같은 문구로 en.json에서 가져옵니다. README 번역 가이드는 카탈로그가 이미 있다는 내용으로 바꾸고, 한국어 페이지를 다루는 e2e 테스트는 한국어 라벨을 사용합니다.

Closes #880

검증

  • tsc --noEmit -p apps/landing/tsconfig.json, ESLint
  • apps/landing에서 bun run build (vinext 정적 내보내기)
  • Playwright: landing-i18n, landing-routes, landing-header, landing-accessibility (38개 통과)

🤖 Generated with Claude Code

owjs3901 and others added 4 commits November 22, 2026 21:33
Introduce the next-intl message catalogs. src/i18n/request.ts merges the
English defaults with the Korean overrides per namespace, and SiteLayout
passes getMessages({ locale }) to NextIntlClientProvider. The header,
mobile menu, docs and components sidebars, table of contents and search
modal read their labels from the catalogs; English output is unchanged.

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

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

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ko] Translate shared website navigation and search UI into Korean

1 participant