Repository navigation
Conversation
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 Report✅ All modified and coverable lines are covered by tests. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Translates the shared website shell into Korean and introduces the next-intl message catalogs that the home, showcase and component translations build on.
src/i18n/messages/en.jsonandko.json, one namespace per component.src/i18n/request.tsmerges the English defaults with the Korean overrides per namespace, andSiteLayoutpassesgetMessages({ locale })toNextIntlClientProvider.next-intl'sAppConfignow types the message keys and theen | kolocales.getTranslations({ locale }); the client parts useuseTranslations.Box,css,Button...) and product names stay as they are.English output is unchanged: every English label comes from
en.jsonwith 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, ESLintbun run buildinapps/landing(vinext static export)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를 사용합니다.Box,css,Button등)과 제품 이름은 그대로 둡니다.영어 출력은 바뀌지 않습니다. 모든 영어 라벨은 같은 문구로
en.json에서 가져옵니다. README 번역 가이드는 카탈로그가 이미 있다는 내용으로 바꾸고, 한국어 페이지를 다루는 e2e 테스트는 한국어 라벨을 사용합니다.Closes #880
검증
tsc --noEmit -p apps/landing/tsconfig.json, ESLintapps/landing에서bun run build(vinext 정적 내보내기)landing-i18n,landing-routes,landing-header,landing-accessibility(38개 통과)🤖 Generated with Claude Code