Jquery simple task (wordpress)
Budget: €8 – €30 EUR
<html lang="en-US">. I have the following in the top of my html code when the html tag is opening. As you can see is english the tag. I have 10 languages so depend on language it change.
Inside my document I have also this, which is on click
onclick="doGTranslate('en|en');jQuery('div.switcher div.selected a').html(jQuery(this).html());return false;"
What I want to do
1) If en_us (at html code) then onclick automatically en|en
2) If de_de (at html code) then on click automatically en|de
3) and for all the languages
Inside my document I have also this, which is on click
onclick="doGTranslate('en|en');jQuery('div.switcher div.selected a').html(jQuery(this).html());return false;"
What I want to do
1) If en_us (at html code) then onclick automatically en|en
2) If de_de (at html code) then on click automatically en|de
3) and for all the languages