Language switcher 2

3 posts by 2 authors in: Forums > CMS Builder
Last Post: October 3, 2014   (RSS)

By CarlosPinedo - October 1, 2014

Hi , I´m trying to create a language switcher as the one posted here http://www.interactivetools.com/forum/forum-posts.php?postNum=2232984#post2232984   . Everything is clear except how are the links created: The user mattbcd says "Then created links for each ending in ?lan=eng and ?lan=de", but how?

Any suggestions here

Carlos

By mattbcd - October 3, 2014

Hi Carlos

I created two flag buttons, an English and German, which had href links applied of ?lan=eng and ?lan=de respectively.  This has the effect of adding a query to the URL, which is then picked up by the code. Now if you click on the English flag, you set the cookie to eng, likewise for German.

Matt