I’ve been drying to create a dropdown menu in my NavBar to change between languages using LocalizeJS service.
this is localizejs help:
What I did
I’ve created drop menu, used a “language-link” class for the styling and each link got a second class (English, Chinese, Japanese).
Also, I’ve added the custom attrinutes to each of the links:
<a href='javascript:Localize.setLanguage("en")'>English</a> <a href='javascript:Localize.setLanguage(“zh”)’>Chinese</a> <a href='javascript:Localize.setLanguage(“ja”)’>Japanese</a>
but the links are not working, what can I do?
thanks