Author Topic

J-A Eberhard

Wednesday 19 October 2005 5:39:37 am

Comment20232

Try to adapt to your case the script on used on pagelayout.tpl

{* LANGUAGE SELECTOR *}
{section show=eq(ezini('RegionalSettings','Locale'),'fre-FR')}
<a href="{concat('/de/', $DesignKeys:used.url_alias)}">Allemand</a>
{/section}
{section show=eq(ezini('RegionalSettings','Locale'),'ger-DE')}
<a href="{concat('/fr/', $DesignKeys:used.url_alias)}">Franzözisch</a><br>
{/section}

I used siteaccess to manage the languages and this will show you link to the same page as the one you are in but in another language.
Jacques-André

Open Source Solution Provider
Open-Net Ltd Switzerland
http://www.open-net.ch