Skip to content

fix(client): use China region locale defaults - #38

Merged
roquerodrigo merged 2 commits into
roquerodrigo:mainfrom
sujoshua:fix/china-region-defaults
Sep 7, 2026
Merged

roquerodrigo merged 2 commits into
roquerodrigo:mainfrom
sujoshua:fix/china-region-defaults

Conversation

@sujoshua

Copy link
Copy Markdown
Contributor

Use CN and zh as the default country and language for region: 'cn'.

Keep the country and language defaults next to REGION_HOSTS in a
REGION_LOCALES constant instead of inline region checks in the
constructor, export the RegionLocale type, and cover the cn and eu
defaults with tests.
@roquerodrigo
roquerodrigo merged commit 786f4af into roquerodrigo:main Sep 7, 2026
6 checks passed
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.

2 participants