Language Selection Widget

For convenience, our Website Translator adds a clickable language selection menu to your website by default. We currently offer two basic light and dark themes for this menu, but if you desire further customization, creating your own is easy with just a little HTML and CSS. Just call the TranslateJS.translate() function in either the onclick or href attributes of your menu items.

HTML Examples:

<ul id="my-language-menu">
<li><a href="javascript:TranslateJS.translate('en')">English</a></li>
<li><a href="javascript:TranslateJS.translate('es')">Spanish</a></li>
<li><a href="javascript:TranslateJS.translate('fr')">French</a></li>
<div id="language-buttons">
<button onclick="javascript:TranslateJS.translate('en')">English</button>
<button onclick="javascript:TranslateJS.translate('it')">Italian</button>
<button onclick="javascript:TranslateJS.translate('zh')">Chinese</button>