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

Provide fallback for IntlProvider #361

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Provide fallback for IntlProvider #361

wants to merge 1 commit into from

Conversation

fraxachun
Copy link
Contributor

Currently the application cannot serve a correct 404. When calling an URL with a wrong language identifier (e.g. /foo instead /en) the page is being rendered and thus the layouts as well. However, the layout returns a 500 because the messages can't be loaded.

With this change the 404 is returned in english if the language can't be resolved.

@dkarnutsch dkarnutsch removed their request for review September 17, 2024 13:55
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.

3 participants