Skip to content

feat(web/i18n): P0 — 정본 Locale 모델 + 필드 fallback + html lang 수정 #684

Description

@thxforall

Epic #683 · ADR-0007 D2/D3/D4/D7 · plan docs/superpowers/plans/2026-06-18-locale-i18n-harness.md Phase 0.

순수-TS 토대 + 무해 수정 (데이터/라우팅 변경 없음, 지금 실행 가능):

  • lib/i18n/locale.ts — 정본 Locale(BCP-47 ko/en), LIVE/RESERVED, DEFAULT=ko, RENDERED=en
  • lib/i18n/localized-text.tspickLocale per-field fallback (요청→ko→첫 non-null, served_locale)
  • lib/i18n/adapters.ts — Meilisearch kor/eng 경계 어댑터
  • app/layout.tsx:46,78 — html lang/OG를 RENDERED_LOCALE에서 도출 (현 lang=ko 거짓말 수정)

수용: vitest 통과, <html lang="en">+OG en_US 일치. 빌드/타입체크 green.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestfrontend프론트엔드i18nLocalization / i18n / locale strategyready-for-agentFully specified, ready for an AFK agent

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions