Skip to content
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

fix: properly extracts fallbackLang #6237

Merged
merged 2 commits into from May 6, 2024
Merged

Conversation

JarrodMFlesch
Copy link
Contributor

Description

Fixes payloadcms/payload-3.0-demo#182

Language was defaulting to en in some places which caused issues when removing it from the config. The fallback locale is set in a proper manner now. This ensures the key is one of the supported languages allowing us to use it reliably.

  • I have read and understand the CONTRIBUTING.md document in this repository.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • I have added tests that prove my fix is effective or that my feature works
  • Existing test suite passes locally with my changes
  • I have made corresponding changes to the documentation

@JarrodMFlesch JarrodMFlesch merged commit ac5d744 into beta May 6, 2024
32 checks passed
@JarrodMFlesch JarrodMFlesch deleted the fix/beta/i18n-requires-en branch May 6, 2024 19:56
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

1 participant