Guide: English/Korean Language Selection

How locale is resolved, persisted, and rendered across SerenQuant web routes.

  • URL policy: no locale path prefixes. Routes remain stable.
  • Resolution order: user profile locale > sq_locale cookie > Accept-Language > default en-US.
  • Supported locales: en-US, ko-KR with normalization for en-* and ko-*.
  • Persistence: unauthenticated users store locale in cookie; authenticated users persist to profile and cookie.
  • Formatting: display-only number/date formatting follows active locale; backend timestamps remain UTC.
  • Fallback: unsupported locale values are canonicalized to default locale without request failure.
  • Quality gates: key parity, hardcoded-literal guard, and runtime smoke are required in release CI.