If we want to add Google Translator in our Website we can follow the below Steps In this Example we have Added Two language , English is the Default language and one more language we have added is French if we want to add or change the language we can modify the code in includedLanguages:… Continue reading To Add Google Translator in our Website
Tag: multi Language
To Add Google Translator in our website
If we want to add google Translator in our website we can follow the below steps We need to add Script As Shown below if we add directly in TPL file it will work fine. <script type=“text/javascript” src=“https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit”></script> <script type=“text/javascript”> function googleTranslateElementInit() { new google.translate.TranslateElement({pageLanguage: ‘en’,includedLanguages: ‘en,fr’}, ‘google_translate_element’); } </script> Here we have added two… Continue reading To Add Google Translator in our website
Enable Multi-Language Features For SMT Content
When we Enable Multi-language feature for our website Initially it will not work for SMT content. to translate the Content first we need to Translate the content of SMT Manually Step to Translate the SMT Content Open website Press Esc button from keyboard to login to SMT Edit the section which we want to Translate… Continue reading Enable Multi-Language Features For SMT Content
Language Selector extension
Code for adding the functionality of language selector option in the header of the SCA website. Code: Entry point File (Java Script)
Multi-Language Enabled And The Language Dropdown Disabled
Scenario Multi-Language Feature Enabled > Language Dropdown Disabled Solution Even if the Multi-Language Feature is Enabled, the Language dropdown field from Home > Set Preferences is disabled. To fix this: 1. Go to Setup > Company > General Preferences. 2. Look for the Language preference under the Overriding Preferences tab. 3. Mark the Allow Override checkbox then save.