Language links

Add a language link to switch between languages on your page. Although this is optional, it is usually mandatory to provide the language toggle link.

Implementation

Language links are added in the top section of the page. There are three configuration options:

defTop.outerHTML = wet.builder.top({
...
    "lngLinks": [{
        "lang": "fr",
        "href": "languagelinks-fr.html",
        "text": "Français"
    }]
...
});