Thursday, 1 March 2012

add google translate with selected language, google translate api with selected language

function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: ‘en’,
includedLanguages: ‘ja’,
defaultLanguage: ‘ja’,
multilanguagePage: true
}, ‘google_translate_element’);
}