Skip to content

Conversation

@spielerx
Copy link
Contributor

This pull request updates the Card component in the localization example to support localized URLs. The most significant changes include importing a new hook for locale management and modifying the URL generation logic to include the locale.

Localization updates:

Add prefix with current locale to href
@DanRibbens DanRibbens changed the title fix(payload-example): fix broken post navigation in localization example chore(examples-localization): fix broken post navigation Jun 27, 2025
@DanRibbens DanRibbens changed the title chore(examples-localization): fix broken post navigation chore(examples-localization): fix broke navigation to post Jun 27, 2025
@DanRibbens DanRibbens changed the title chore(examples-localization): fix broke navigation to post examples: fix broken navigation to post in localization example Jun 27, 2025
@DanRibbens DanRibbens enabled auto-merge (squash) June 27, 2025 11:11
@DanRibbens DanRibbens merged commit 6a935d4 into payloadcms:main Jun 27, 2025
20 of 23 checks passed
@github-actions
Copy link
Contributor

🚀 This is included in version v3.44.0

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