Language modifiers ::MAIN

Post Reply
admin
Site Admin
Posts: 37241
Joined: Wed Sep 10, 2008 11:43 am

Language modifiers ::MAIN

Post by admin »

Lets say you have 2 languages, and a user at /de language, you output tags

<tag_list num=1-5> <!--TAG_NAME--> </tag_list>

You'll get it in german, but what you want those tags in another language? Here's an example

<tag_list num=1-5>
<a href='/tag/<!--TAG_NAME::MAIN-->/'> <!--TAG_NAME--> </a> (other lng <!--TAG_NAME::DE--> <!--TAG_NAME::IT--> and so on)
</tag_list>

Please, note ::MAIN - that's a main language , ::DE and ::IT - language slaves.
Don't forget to run script update
Post Reply