Developer forum

Forum » Templates » language switcher

language switcher

Natalia Grynenko
Reply
Hello,

    Could you please provide an example how language switcher can be implemented in the template?

Thanks.

Replies

 
Vladimir
Reply
This post has been marked as an answer
Hi,
something like:

<div id="langugeSelector">
    <ul> 
		<li><a href="/da-DK/home.aspx"><img class="flag" src="/Files/Images/Flags/flag_DK.png" /></a></li>   
		<li><a href="/de-DE/home.aspx"><img class="flag" src="/Files/Images/Flags/flag_DE.png" /></a></li>   
		<li><a href="/en-GB/home.aspx"><img class="flag" src="/Files/Images/Flags/flag_GB.png" /></a></li>   
	</ul>
</div>   


there /da-DK, /de-DE, /en-GB - url of your language areas, and home.aspx - any start page of area

Regards,
Vladimir

Votes for this answer: 0

 

You must be logged in to post in the forum