fix(i18n): 언어 전환 안내 양방향 지원 - #202
Merged
Merged
Conversation
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.
목적
영어 브라우저의 한국어 페이지뿐 아니라 한국어 브라우저의 영문 페이지에서도 대응 언어로 안전하게 전환할 수 있도록 언어 제안 배너를 양방향으로 확장합니다.
내용(의도 포함)
ko→en,en→ko양쪽 배너를 표시합니다.한국어로 보기동작을 추가했습니다.ko·en이외 브라우저 언어에는 배너를 표시하지 않습니다.Not now상태를ko-en,en-ko방향별 sessionStorage 키로 분리했습니다.성공기준
pnpm build통과pnpm type-check통과pnpm check:internal-links통과pnpm test:post-dates6개 통과pnpm test:sitemap-lastmod6개 통과/en/about/접근 시 한국어 배너와 self-canonical 유지한국어로 보기선택 시/about/,lang=ko, 한국어 self-canonical 전환en→ko의나중에선택이ko→en배너를 숨기지 않음