We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 43038
    • 6 Posts
    Hello to all,

    I'm new in using Modx revolution. I searched the forum and google but I have not found an answer to my question.
    Is there a way to translate into the user's language of the mail that is sent when we add it in modx

    thank you very much
      • 42046
      • 436 Posts
      I've never used it myself but I would guess you could start by looking at the Babel add-on http://rtfm.modx.com/display/ADDON/Babel and setting up different contexts for different languages.
        • 36996
        • 211 Posts
          • 43038
          • 6 Posts
          Thank you for your reply, I had already found (and tested) these two solutions but,
            - With BABEL I see how to translate pages but not system settings
            - I think lexicon corresponds better to my problem but I do not see how to use it with system parameters, do you have an idea?

          Regards
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            What, exactly, are you trying to have in different languages? Is it the "report" chunk that is used for FormIt or other snippets that send email, or the email sent by the Manager when a user registers or wants to change his password?
              Studying MODX in the desert - http://sottwell.com
              Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
              Join the Slack Community - http://modx.org
              • 43038
              • 6 Posts
              For now only the mail send by the Manager when user is registred or when it change his password.
                • 42046
                • 436 Posts
                How are you having the users select their language?

                The registration emails are defined in the System Settings but if you're looking to have a multilingual approach the Login add-on http://rtfm.modx.com/display/ADDON/Login is much more flexible and allows for proper templating which could be used in a conditional way. [ed. note: absent42 last edited this post 13 years, 6 months ago.]
                  • 43038
                  • 6 Posts
                  It's my first attempt and i've define the user from the manager (not define the user language and i don't how to make that ?) but the manager language is French and I would have thought that the mail would be sent in French.
                    • 42046
                    • 436 Posts
                    Just search for email in the system settings and they will come up.
                      • 43038
                      • 6 Posts
                      Yes but in english, and if i make a translation the english user dont't receveive the notification in their language.