widget language condition Body HTML
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2023 05:08 AM
Hi!
Can someone please help me
I wanted to set a langage condition adapted to the langage session user the fr or en document that I want to display
Here you have a model of the code
<div>
<font color="#808080">{{data.message}}</font><br>
<ul>
<li><a target="blank" href="{{data.url}}">{{data.label}}</a></li>
<li><a target="blank" href="{{data.url1}}">{{data.label1}}</a></li>
</ul>
<font color="#808080">{{data.message1}}</font>
{{if languageCode === 'fr'}}
<a target="blank" href="{{data.url2}}">{{data.label2}}</a>
{{/if}}
{{if languageCode === 'en'}}
<a target="blank" href="/sys_attachment.do?sys_id=eea47d928741f110b00920aabbbb356f">{{data.label2}}</a>
{{/if}}
</div>
here is the return i got :
Thanks for your feedbacks
0 REPLIES 0