Skip to content

[feat] Add locale preference to client-raycast #3

Description

@ThreeLight2000

Motivation

Raycast users may run Raycast and Chrome in English while preferring Context OS in Korean. client-chrome now supports an explicit locale preference, and client-raycast should offer the same behavior through Raycast Extension Preferences.

Scope

  • Add an Auto / 한국어 / English language preference to the Raycast extension manifest.
  • Default to Auto using the Raycast runtime locale, with explicit preference override.
  • Localize command UI, toasts, dates, and copy/export text in client-raycast.
  • Keep Raycast manifest command metadata in English because it is platform metadata.
  • Apply the preference on the next command invocation, using Raycast preference storage instead of custom storage.

Acceptance criteria

  • Auto, Korean, and English preferences resolve correctly.
  • Explicit Korean works while Raycast/Chrome remain in English.
  • Preference is shared by all Raycast commands through getPreferenceValues.
  • Invalid or missing values fall back to Auto.
  • Command UI, toasts, dates, and copy/export output use the selected locale.
  • Existing client-raycast lint, build, and tests pass.

Verification plan

  • Add locale resolution and translation tests.
  • Run client-raycast lint, build, and relevant tests.
  • Verify the imported extension with Raycast after build per package workflow.

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions