Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthrough애플리케이션에 포괄적인 국제화(i18n) 지원을 추가합니다. 한국어와 영어 메시지 매핑, 언어 감지 및 지속성, React 훅, 정적 페이지의 언어 전환 UI, 게임 로직의 언어 인식 볼 카탈로그를 구현합니다. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant App
participant I18nRuntime as I18n Runtime
participant Storage as localStorage
participant DOM
User->>App: 앱 시작
App->>I18nRuntime: initializeI18n()
I18nRuntime->>Storage: 저장된 언어 확인
I18nRuntime->>I18nRuntime: URL 파라미터 검사
I18nRuntime->>I18nRuntime: navigator.language 기본값
I18nRuntime->>Storage: 초기 언어 저장
I18nRuntime->>DOM: document.lang 설정
I18nRuntime->>DOM: meta/OG 태그 업데이트
App->>App: 앱 초기화 완료
User->>DOM: 언어 전환 버튼 클릭
DOM->>I18nRuntime: setCurrentLanguage(nextLang)
I18nRuntime->>Storage: 언어 저장
I18nRuntime->>DOM: document.lang 업데이트
I18nRuntime->>DOM: 메타데이터 재설정
I18nRuntime->>App: 언어 변경 알림
App->>App: 카탈로그 재지역화
App->>DOM: UI 텍스트 업데이트
App->>User: 새 언어로 렌더링
Estimated code review effort🎯 4 (Complex) | ⏱️ ~50 minutes Possibly related PRs
✨ Finishing Touches
🧪 Generate unit tests (beta)
Comment |
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.
변경 사항
src/i18n/*) 및 앱 초기화 시 언어 감지/저장(localStorage)/문서 언어 반영 적용offline,privacy-policy,pinball-game,pinball-ladder)에 KO/EN 토글 및 메타 전환 스크립트(public/static-page-i18n.js) 적용public/manifest-en.webmanifest) 추가 및 indexhreflang/manifest 동적 선택 반영검증
Summary by CodeRabbit
릴리스 노트
새로운 기능
스타일
기타