Skip to content

Configure locale - #403

Merged
JedWatson merged 3 commits into
mainfrom
configure-locale
Jul 4, 2023
Merged

JedWatson merged 3 commits into
mainfrom
configure-locale

Conversation

@JedWatson

Copy link
Copy Markdown
Member

Closes #402

Adds support for a new config key locale which must be one of the supported locales.

Defaults to en-US for now (see #401 for reason)

Also adds a containing div with locale lang and direction per https://react-spectrum.adobe.com/react-aria/internationalization.html#example

@JedWatson JedWatson added the enhancement New feature or request label Jul 3, 2023
@JedWatson
JedWatson requested review from emmatown and jossmac July 3, 2023 07:00
@JedWatson JedWatson self-assigned this Jul 3, 2023
@changeset-bot

changeset-bot Bot commented Jul 3, 2023 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: b1482d7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 7 packages
Name Type
@keystatic/test-next-app Patch
@keystatic/core Patch
localization Patch
@keystatic/test-astro Patch
@keystatic/remix-test-app Patch
@keystatic/templates-nextjs Patch
keystatic-docs Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel

vercel Bot commented Jul 3, 2023 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
keystatic 🛑 Canceled (Inspect) Jul 3, 2023 7:39am
keystatic-site 🛑 Canceled (Inspect) Jul 3, 2023 7:39am
voussoir 🛑 Canceled (Inspect) Jul 3, 2023 7:39am

@JedWatson JedWatson removed their assignment Jul 3, 2023

This branch was successfully deployed

3 active deployments
Preview – keystatic — b1482d74 Deployed Jul 3, 2023 by vercel[bot]
Preview – voussoir — b1482d74 Deployed Jul 3, 2023 by vercel[bot]
Preview – keystatic-site — b1482d74 Deployed Jul 3, 2023 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for Local configuration

1 participant