Skip to content

feat(landing): translate the home page and showcase into Korean - #1059

Open
owjs3901 wants to merge 5 commits into
feat/ko-shellfrom
feat/ko-home
Open

owjs3901 wants to merge 5 commits into
feat/ko-shellfrom
feat/ko-home

Conversation

@owjs3901

Copy link
Copy Markdown
Contributor

Summary

Translates the home page (/ko) and the showcase (/ko/showcase) into Korean. Stacked on #1055, which adds the message catalogs.

  • Home: src/app/(detail)/page.ko.tsx sits beside page.tsx and is registered as / in src/i18n/pages.ts. TopBanner, GetStartedButton, Bench, DevupUICard, OtherCard, Feature and Discord take an optional locale (default en) and read their copy with getTranslations({ locale }) from the new Home namespace. The benchmark caption uses rich text so its run and commit links, versions and numbers stay the same. Product names, the "Zero Config / Zero FOUC / Zero Runtime" slogan, Star/Sponsor and external links are unchanged.
  • Showcase: showcase/page.ko.tsx registered as /showcase. The project list moves to components/showcase/showcase-list.ts so both pages share it. The segment labels and "Visit Site" translate through the Showcase namespace; the All/Website/Mobile filter values stay as they are.
  • Translated metadata with /ko canonical URLs. The English home and showcase metadata gain the en/ko/x-default language alternates, as the translated docs pages already have.
  • English output is unchanged.
  • e2e: getTranslatedRoutes also picks up page.ko.tsx and skips the dynamic [component] segment. The checks that /ko redirects to English now expect the Korean home, and a new test covers the Korean home and showcase.
  • CI: adds feat/ko-shell and feat/ko-home to the pull_request branches in publish.yml so the stacked PRs get checks. Remove them once the stack merges.

Closes #811
Closes #878

Verification

  • tsc --noEmit, ESLint
  • bun run build in apps/landing
  • Playwright: i18n, routes, header, interactions, accessibility, build integrity, zero-runtime (60 passed); visual, docs and components page specs (47 passed). The one failure, components-benchmark-section-mobile, is a stale win32 baseline that still shows the older benchmark caption and numbers. CI compares against the Linux baselines.

요약

홈(/ko)과 쇼케이스(/ko/showcase)를 한국어로 번역합니다. 메시지 카탈로그를 추가하는 #1055 위에 쌓인 PR입니다.

  • 홈: src/app/(detail)/page.ko.tsx를 page.tsx 옆에 두고 src/i18n/pages.ts에 /로 등록합니다. TopBanner, GetStartedButton, Bench, DevupUICard, OtherCard, Feature, Discord는 선택적 locale(기본값 en)을 받아 새 Home 네임스페이스에서 getTranslations({ locale })로 문구를 읽습니다. 벤치마크 설명은 리치 텍스트를 사용해 실행·커밋 링크, 버전, 수치를 그대로 유지합니다. 제품 이름, "Zero Config / Zero FOUC / Zero Runtime" 슬로건, Star/Sponsor, 외부 링크는 바꾸지 않습니다.
  • 쇼케이스: showcase/page.ko.tsx를 /showcase로 등록합니다. 두 페이지가 함께 쓰도록 프로젝트 목록을 components/showcase/showcase-list.ts로 옮깁니다. 구분 탭 라벨과 "사이트 방문"은 Showcase 네임스페이스로 번역하고, All/Website/Mobile 필터 값은 그대로 둡니다.
  • /ko canonical URL을 포함한 번역된 메타데이터를 추가합니다. 영어 홈과 쇼케이스 메타데이터에는 번역된 문서 페이지처럼 en/ko/x-default 언어 대체 링크를 추가합니다.
  • 영어 출력은 바뀌지 않습니다.
  • e2e: getTranslatedRoutes가 page.ko.tsx도 인식하고 동적 [component] 세그먼트는 건너뜁니다. /ko가 영어로 리디렉션된다고 보던 검사는 이제 한국어 홈을 기대하고, 한국어 홈과 쇼케이스를 확인하는 테스트를 추가합니다.
  • CI: 쌓인 PR에도 검사가 돌도록 publish.yml의 pull_request 브랜치에 feat/ko-shell, feat/ko-home을 추가합니다. 스택이 병합되면 제거해야 합니다.

Closes #811
Closes #878

검증

  • tsc --noEmit, ESLint
  • apps/landing에서 bun run build
  • Playwright: i18n, routes, header, interactions, accessibility, build integrity, zero-runtime(60개 통과), visual·docs·components 페이지 테스트(47개 통과). 실패한 components-benchmark-section-mobile 1건은 예전 벤치마크 설명과 수치가 남아 있는 오래된 win32 기준 이미지 때문입니다. CI는 Linux 기준 이미지와 비교합니다.

🤖 Generated with Claude Code

owjs3901 and others added 5 commits November 22, 2026 21:40
Add page.ko.tsx beside the home and showcase pages and register / and
/showcase in src/i18n/pages.ts. The home sections take an optional locale
and read their copy with getTranslations({ locale }); English renders the
same text as before. The showcase list moves to a shared module so both
pages render it, and the segment labels translate while the filter values
stay unchanged.

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.

1 participant