Skip to content

examples: fix broken navigation to post in localization example #12810

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 27, 2025

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:

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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
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.

None yet

2 participants