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

Use locales on mailer views #5679

Closed
wants to merge 1 commit into from

Conversation

JuanVqz
Copy link

@JuanVqz JuanVqz commented Mar 29, 2024

The other day I was trying to internationalize mailers on my application. I ended up copying the views to translate the mail content, which could be done by changing the content in the local (en.yml)file.

So, that is why I think it would be nice to have the I18n keys instead of the plain text in the mailers

The other day I was trying to internationalizate mailers on my application and ended up copying the views just to translate the mails content

So, that is why I think it would be nice to hace the local keys by default
@JuanVqz JuanVqz marked this pull request as ready for review April 5, 2024 01:20
@nashby
Copy link
Collaborator

nashby commented Nov 6, 2024

@JuanVqz thank for the PR but we don't maintain translations in Devise. You can use https://github.com/devise-i18n/devise-i18n for that or just copy these mailer views into your app and do it there.

@nashby nashby closed this Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants