hello,
I am using google language translator
function googleTranslateElementInit() {
//setCookie('googtrans', '/en/lo', 1);
new google.translate.TranslateElement({ pageLanguage: 'en', layout: google.translate.TranslateElement.InlineLayout.SIMPLE }, 'google_translate_element');
}
I am settting the language on click event
<ul id="language-list-ul">
<li>
<a>es</a>
<a>de</a>
<a>en</a>
</li>
</ul>
So google store langauge in cookie, i want to change the cookie value using a click event.
How to do that.