joomla google translate based on user ip
Aug 15, 2018 10:09 am by ameerjaiswal
Aug 15, 2018 10:09 am by ameerjaiswal
I have a joomla website.
I have integrated gtranslate, so that the user can select and translate the content to selected language.
Header
<meta name="google-translate-customization" content="e6d65bc1aa004329-813ae7b5623659e0-g8b1cf8bac64e7822-16"></meta>
Content
<div id="google_translate_element"></div><script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: 'en', layout: google.translate.TranslateElement.InlineLayout.SIMPLE}, 'google_translate_element');
}
</script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
Is there anyway, i can do this automated, like automatically based on the user ip address, the language should be selected and site content should be translated.
Re: joomla google translate based on user ip
Aug 19, 2018 2:53 pm by Edvard
Aug 19, 2018 2:53 pm by Edvard
Hi,
You can automatically change the language based on the user browser language.
Please contact our live chat for more info: https://gtranslate.io/#contact
Thanks!
SIMILAR TOPICS
Google stopped providing website translator widgets | Feb 28, 2019 2:43 pm | Replies: 0 | Post by: Edvard |
GTranslate 3.7.4, Joomla 3.9.3 - doGTranslate is not defined | Feb 22, 2019 12:34 pm | Replies: 1 | Post by: oase |
wordpress amp link not translate | Dec 31, 2016 10:11 am | Replies: 12 | Post by: besybuy |
Translate website to any specific language, on page load | Jan 19, 2019 6:49 am | Replies: 1 | Post by: Leaon7756 |
Best way to translate a page in WordPress? | Jan 7, 2019 11:10 am | Replies: 3 | Post by: Tonnystark |