Content Change Using Google Translate

Google Translate is a free polyglot machine translation service developed by Google, to translate text from one language into another.It offers a website interface, mobile apps for Android and iOS, and an API that helps developers build browser extensions and software applications. Google Translate supports over 100 languages at various levels.

It’s important to ensure your content is as widely available as possible including providing translations that serve the needs of your audience.

Translated content is also key in general accessibility terms. If your website serves specific communities where a host of languages are spoken, then it is vital you provide translated content to meet their communication needs.

<!DOCTYPE html>
<html lang="en-US">
<head>
    <title>Translate with Google</title>
</head>
<body>

<h1>My Translater Page</h1>

<p>Hello World!</p>

<p>Translate this page:</p>

<div id="google_translate_element"></div>

<script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: 'en'}, 'google_translate_element');
}
</script>

<script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>

<p>You can translate the content of this page by selecting a language in the Drop Down area.</p>

</body>
</html>

Leave a Reply

Your email address will not be published. Required fields are marked *