I\'m using the google translate widget on one of my sites with the following google supplied code:
<
$( document ).ready(function() { $('#google_translate_element').bind('DOMSubtreeModified', function() { var val = $(this); var strlang = "" + val[0].innerText + ""; console.log(strlang); // print your selected language in console }); });