Skip to content

fix: error when trying to load messages from a non translated language.#3

Open
felixdenoix wants to merge 1 commit into
nwidynski:mainfrom
felixdenoix:main
Open

fix: error when trying to load messages from a non translated language.#3
felixdenoix wants to merge 1 commit into
nwidynski:mainfrom
felixdenoix:main

Conversation

@felixdenoix
Copy link
Copy Markdown

@felixdenoix felixdenoix commented Nov 28, 2024

This pr catches the error thrown by the message loader and loads the default locale instead.

fixes #2

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.

Switch to default locale instead of throwing an error in case of non-existing locale;

1 participant