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

Set default_locale for custom I18n config #220

Merged
merged 1 commit into from
Dec 4, 2024
Merged

Set default_locale for custom I18n config #220

merged 1 commit into from
Dec 4, 2024

Conversation

rosa
Copy link
Member

@rosa rosa commented Dec 4, 2024

Otherwise, the with_locale block will try to set back any locale set by the host app, which might or might not be :en, leading to an I18n::InvalidLocale error.

Addresses #219.

Otherwise, the `with_locale` block will try to set back any locale set
by the host app, which might or might not be :en, leading to an
`I18n::InvalidLocale` error.

Addresses #219.
@rosa rosa merged commit cb81c47 into main Dec 4, 2024
6 checks passed
@rosa rosa deleted the set-default-locale branch December 4, 2024 19:51
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.

1 participant