Skip to content

fix(web): default the app to English (Korean is opt-in)#801

Open
k08200 wants to merge 1 commit into
mainfrom
fix/default-locale-en
Open

fix(web): default the app to English (Korean is opt-in)#801
k08200 wants to merge 1 commit into
mainfrom
fix/default-locale-en

Conversation

@k08200

@k08200 k08200 commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Summary

Follow-up to #799. After the login page was fully localized, a
Korean-locale browser auto-switched the entire app (including
/login) to Korean, because detectLocale() fell back to
navigator.language whenever the profile language was unset or "auto".
The intended default is English, with Korean available by explicit choice.

  • i18n.tsx detectLocale() no longer follows the browser locale.
    It defaults to English and returns Korean only when the stored profile
    explicitly selects "ko".
  • settings/page.tsx — the default profile language is now "en"
    (was "auto"), and the Language dropdown offers English / 한국어
    (removed the browser "Auto-detect" option that produced the surprise).

Both languages still work — Korean is one explicit click away in
Settings → Language. This matches the landing site, which already
defaults to English.

Type

  • fix (i18n / packages/web)

Checklist

  • Korean-locale browser with no saved choice now lands in English
  • Explicit 한국어 selection still renders the app in Korean
  • Default profile language en; Auto-detect option removed from Settings
  • biome check clean, tsc --noEmit passes for packages/web

Test plan

  • pnpm install + prisma generate; biome check on both files — pass; cd packages/web && npx tsc --noEmitpass.
  • Ran next dev and screenshotted /login in a ko-KR browser context (navigator.language === "ko-KR"):
    • No stored profile → page renders fully English (nav, aside, auth card, form).
    • localStorage klorn-profile = {language:"ko"} → page renders fully Korean.

A Korean-locale browser auto-switched the whole app (including /login) to
Korean via navigator.language, so the effective default was Korean.

- detectLocale() no longer follows the browser locale: it defaults to
  English and only returns Korean when the stored profile explicitly
  selects "ko".
- Default profile language is now "en" (was "auto"); Settings → Language
  offers English / 한국어 (dropped the browser Auto-detect option).

Both languages still work — Korean is one explicit click away.
@vercel

vercel Bot commented Jul 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
klorn-web Ready Ready Preview, Comment Jul 9, 2026 4:11pm

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