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

Drop explicit I18n load path configuration #221

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

Dakota-Schramm
Copy link
Contributor

There is currently a problem with locales load order such that in production, passwordless locale files come after the application locale files in the I18n load path

This prevents the application from overriding any translations

Rails engines don't need to explicitly configure this at least since 5.1.4 (the current minimum requirement)

There is currently a problem with locales load order such that in
production, passwordless locale files come after the application locale
files in the I18n load path

This prevents the application from overriding any translations

Rails engines don't need to explicitly configure this at least since
5.1.4 (the current minimum requirement)
  - https://api.rubyonrails.org/v5.1.4/classes/Rails/Engine.html
@Dakota-Schramm
Copy link
Contributor Author

We tested this in our own production specifically for the subject line and found that this change works

@mikker
Copy link
Owner

mikker commented Apr 25, 2024

Great, thank you!

Must be a leftover from way back when.

@mikker mikker merged commit 65ea73c into mikker:master Apr 25, 2024
15 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.

None yet

2 participants