Legion Multiverse

Blog

How to use Google Translate on your website?

Web Developing

How to use Google Translate on your website?

Google Translate is a free multilingual statistical and neural machine translation service developed by Google, to translate text and websites from one language into another. It offers a website interface, a mobile app for Android and iOS, and an application programming interface that helps developers build browser extensions and software applications. As of April 2020, Google Translate supports 109 languages at various levels and as of April 2016, claimed over 500 million total users, with more than 100 billion words translated daily. source from: /wiki/Google_Translate

You can use the below code to get Google Translate on your website.

<!DOCTYPE html>
<html>
<head>
	<title>Legionmultiverse - How to use Google Translate on your website?</title>
	<script type="text/javascript">
        function googleTranslateElementInit() {
            new google.translate.TranslateElement({pageLanguage: 'en'}, 'google_translate_element');
        }
    </script>
	<script type="text/javascript" src="https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
</head> 
<body>
	<div id="google_translate_element"></div>
	<p>Hello Legionmultiverse!</p> 
	<p>At Legionmultiverse, we provide expert consultation for the growth of your business. Currently, we operate on major business strategic unit focusing on IT Services. Our technological expertise, high-quality standards, creativity and efficiency are combined in our services to deliver maximum value to our customers. We thrive on the latest technology stacks as per the business needs. </p>
</body>
</html>

 

www.000webhost.com