Skip to content

docs: deprecate experimentalLocaleResolution, recommend getLocale/getRegion paths#303

Merged
moss-bryophyta merged 1 commit into
mainfrom
docs-sync/gt-next-v6.16.29
May 19, 2026
Merged

docs: deprecate experimentalLocaleResolution, recommend getLocale/getRegion paths#303
moss-bryophyta merged 1 commit into
mainfrom
docs-sync/gt-next-v6.16.29

Conversation

@moss-bryophyta
Copy link
Copy Markdown
Collaborator

Updates the cache-components guide for gt-next@6.16.29 (generaltranslation/gt#1437):

  • Replaced experimentalLocaleResolution: true config with explicit getLocalePath and getRegionPath configuration
  • Added example getLocale.ts and getRegion.ts files
  • Added deprecation callout for experimentalLocaleResolution
  • Updated configuration notes to reflect the new approach

experimentalLocaleResolution relied on unsupported Next.js internals. The new recommendation is to define custom request functions explicitly.

No docs changes needed for Esperanto locale addition (supported-locales@2.1.0) — no docs enumerate supported locales.

…Region paths

Updated cache-components guide to reflect gt-next@6.16.29 changes:
- Replace experimentalLocaleResolution config with getLocalePath/getRegionPath
- Add example getLocale.ts and getRegion.ts files
- Add deprecation callout for experimentalLocaleResolution
- Update configuration notes section
@moss-bryophyta moss-bryophyta requested a review from a team as a code owner May 19, 2026 02:07
@moss-bryophyta moss-bryophyta enabled auto-merge (squash) May 19, 2026 02:07
@moss-bryophyta moss-bryophyta merged commit 7fbe338 into main May 19, 2026
5 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