Skip to content

Fix language code validation to fallback to 'en' instead of throwing error#46

Merged
Spikatrix merged 2 commits into
mainfrom
nitishxyz/language-fallback-en
Sep 10, 2025
Merged

Fix language code validation to fallback to 'en' instead of throwing error#46
Spikatrix merged 2 commits into
mainfrom
nitishxyz/language-fallback-en

Conversation

@nitishxyz
Copy link
Copy Markdown
Contributor

@nitishxyz nitishxyz commented Sep 10, 2025

Fixes LIQ-480
Changes validation behavior to use English as default language
when an invalid language code is provided, rather than throwing
an error. This improves user experience by gracefully handling
unsupported language codes.

…stead of error

Changes validation behavior to use English as default language
when an invalid language code is provided, rather than throwing
an error. This improves user experience by gracefully handling
unsupported language codes.
@nitishxyz nitishxyz requested a review from Spikatrix September 10, 2025 01:50
@Spikatrix Spikatrix merged commit d361066 into main Sep 10, 2025
1 of 2 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