There are some email templates that use variable %changes and I'm not able to translate the text (password) it outputs. How do I translate it? I have tried CSV file with no luck.

Here is an example from the email template:

{{trans "New %changes for %user_name" changes=$changes user_name=$user.name}}

2 Answers 2


you can try below way..

i have translated in Dutch language

"New %changes for %user_name","Nieuwe %changes voor %user_name"
  • It's not working for me. I'm in developer mode so do I need to manually delete some caches or other generated files in some folders in order for the translation to work?
    – Webninja
    Aug 10, 2019 at 16:50
  • @Webninja you can search this word in your file you have not two time wriiten Aug 11, 2019 at 4:28
  • 1
    The problem I have is that other parts of that sentence are translated, but the word that goes in place of %changes is not being translated. How do I translate that? For example in my tests this word is: password.
    – Webninja
    Aug 12, 2019 at 11:31
  • 1
    Dude that's Dutch Feb 2, 2021 at 16:06

Another option would be to use the transactional email section of the admin to load the email template into the database. You can then do a database level store based translation. Even make content changes of you like.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.