This helpnote will show you how to add Google Translate into your VP-ASP 7.00 site that will allow your customers to choose the options available to translate the whole site to their target languages.
Please follow these steps below :
1. Open the Google Translate link below :
http://translate.google.com/translate_tools
2. In the Google translate tool page, please enter your suitable options as below :
----------------------------------------------------------------------------
Step 1: Type of translation element : Add translation to the entire webpage
Step 2: Language
Select the language of your webpage: English (if your site is in English).
Step 3: Show optional settings (click the + icon to expand it)
Translation languages
Please select : Specific languages
Then tick one by one your desired languages to list for your customers.
----------------------------------------------------------------------------
3. Copy all the script inside the big textbox as mentioned in the Step 4.
The code will look like as below (do not use this sample script as this is just example) :
<div id="google_translate_element"></div><script>
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'en',
includedLanguages: 'zh-CN,da,fr,de,it,ja,es'
}, 'google_translate_element');
}
</script><script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>