Hi @thmayr
Thanks for your patience.
As far as I know about the ‘TranslatePress’ plugin is only for the front end visible string.
Download notes are the back-end part so I think it will not work.
I have also asked the same thing on their forum which you can check
https://ww.wp.xz.cn/support/topic/how-to-change-edd-email-content-as-per-language/
You can ask your query on plugin forum also.
I am not sure about this shortcode [trp_language language="en_GB"] but need to check.
Thread Starter
thmayr
(@thmayr)
Hi Pratik Jain,
now I understand the problem. The conditional shortcode [trp_language] generally works. But in this case the these tags are nested, because I defined two language specific blocks in my e-mail template containing the {download_list}. The download list itself contains these language specific blocks again defined in the download note. So the expanded result looks like this:
[trp_language language=”en_GB”]
… some English text from the mail template. Now the download-list follows:
Product …
[trp_language language=”en_GB”]
… some english text from the download notes
[/trp_language]
[trp_language language=”de_DE”]
… some German text from the download notes
[/trp_language]
… some English text from the mail template
[/trp_language]
[trp_language language=”de_DE”]
… same as above
[/trp_language]
So the first [trp_language] tag of the mail template is closed by the [/trp_language] of the download note, and this leads to the confusion.
Currently I have no idea how to solve this issue.
Kind regards
Thomas
Because there have not been any recent updates to this topic we’ll be changing the status to resolved. If you have any further questions you can start a new thread, or head over to our support page to submit your request if it is related to one of our available add-ons.