-
Notifications
You must be signed in to change notification settings - Fork 124
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
Move email text to locale files #3383
Conversation
@smithjp can we parameterize the |
Would it make sense to set the locale in a hyrax config variable (in config/initializers/hyrax.rb)? |
@smithjp no, the language is already set in |
I'm unclear why you need the |
The feedback in #3321 indicated that the first step in having emails sent in a particular user's preferred language would be to move the email text to the locale files and always send in english. Further work will need to be done to either have emails sent in an application-wide preferred language or in the recipient's preferred language. Otherwise, emails may be sent based on a depositor's preferred language, which may not be a reviewer's preferred language. |
@smithjp for now, the system default could be set to |
👍 to using the existing default Since that original discussion, I've learned that users already have a hyrax/app/models/user_mailbox.rb Line 20 in 5a9d1be
|
25226fe
to
446460f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a great step. Thanks!
Fixes #3321
@samvera/hyrax-code-reviewers