We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Now that we use the current person's locale all over the place, it'd be nice to standardize how we do it. And do it in a unified place
This feels like a place where we should use CurrentAttributes (added in Rails 5.2).
CurrentAttributes
They're thread locale globals. https://api.rubyonrails.org/classes/ActiveSupport/CurrentAttributes.html
It would be swell if we could get/set Current.locale from anywhere in the app.
Current.locale
The text was updated successfully, but these errors were encountered:
veganstraightedge
Successfully merging a pull request may close this issue.
Now that we use the current person's locale all over the place, it'd be nice to standardize how we do it. And do it in a unified place
This feels like a place where we should use
CurrentAttributes
(added in Rails 5.2).They're thread locale globals.
https://api.rubyonrails.org/classes/ActiveSupport/CurrentAttributes.html
It would be swell if we could get/set
Current.locale
from anywhere in the app.The text was updated successfully, but these errors were encountered: