Tuesday 13 June 2006 2:06:15 am
You can also use a loop and a direct link to the same page in another language
<ul>
{def $locales=fetch( 'content', 'translation_list' )}
{foreach $locales as $locale}
<li>
<a href={concat("../",$locale.country_code|downcase(),"/",$module_result.content_info.url_alias)|ezurl} >{$locale.language_name}</a>
</li>
{/if}
{/foreach}
{undef}
</ul>
Open Source Solution Provider
Open-Net Ltd Switzerland
http://www.open-net.ch
|