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