Google Translate is a free multilingual machine translation service developed by Google, to translate text from one language into another. Google's free service instantly translates words, phrases, and web pages between English and over 100 other languages.
Add Google Translate Button in Blogger | IndianTechnoEra |
Google Translate Widget
If you’ve ever
taken a foreign language course, teachers and professors implore students not
to use Google Translate as a tool for completing assignments. Still, many
students go ahead and put their English essays into the online machine in order
to get their nicely translated Spanish essay out to turn in to the teacher. The
only problem is that most teachers can tell when a student has used an online
translator like Google Translate since more often than not; the translation is
inaccurate and ungrammatical. If Google Translate poses a problem in education,
how much more of a problem is it for professionals working across languages and
cultures, and what are the pros and cons of Google translate vs.
professional translation.
Follow the
steps to add a Google translate button on your website:
Step 1: Start
with a basic web page and add a “div” element.
In the code below a “div” element with the id “google_translate_element” is
created.
<div id= “google_translate_emlement”></div>
Step 2: Add google translate api reference.
<script type= “text/javascript”
src= “//transtale.google.com/tanslate_a/element.js?
cb=googleTranslateElementInit”></script>
Step 3: Add
Javascript function..
<script type= “text/javascript”>
function googleTranslateEmelentInit() {
new google.transtale.TranstaleElement (
{pageLanguage: ‘en’},
‘google_translate_element’);
</script>
Script
Google Translate Wedge Script for blogger:
Follow the steps-
- Open blogger
- Goto them
- Customize
- Edit HTML
- Goto “Jump Wedge”
- Select “Blog 1”
- Paste the script Above the “Blog 1” script just after the nearest end tag
<p>
it2Edu </p>
<p> indiantechnoera.blogspot.com </p>
<p> Translate this page in your preferred language :</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= "https://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 select box.</p>
Example HTML Page
<!DOCTYPE html>
<html lang="en-US">
<head>
<title>
How
To Add Google Translate
Button
On Your Webpage ?
</title>
</head>
<body>
<p> it2Edu </p>
<p> indiantechnoera.blogspot.com </p>
<p> Translate this page in your preferred language
:</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= "https://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 select box.</p>
</body>
</html>
Output Interface
On HOME page and
also on every page:
Output Interface After Translate:
Advantages of Google Translate:
- Google Translate is free.
- 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.
- Google Translate is quick. In fact, a human translator(s) cannot compete with the speed nor, as a result, the quantity of translations that Google Translate is able to perform.
- Google Translate is able to produce a translation with the same number of words in just seconds!
- Google Translate uses a statistical method to form an online translation database based on language pair frequency.
- Google Translate uses a statistical approach to build an online database for translations that are often (but not always) produced by humans and are available online.
Disadvantages of Google Translate:
- With Google Translate the meaning can be “lost in translation” because there is no way to incorporate context.
- The complexity of the text, as well as any context which cannot be interpreted without a true knowledge of the language, makes the likelihood of errors greater.
- Direct translation is common with Google Translate and often results in nonsensical literal translations.
- The quality of translation is dependent on the language pair.
- The source and target languages are involved also affects the quality of the translation.
- Since Google’s web-based translation database is built primarily from existing online translations, common translations for languages e.g. Spanish or English tend to be more accurate while translations for other languages that are not as available in Google’s database are less likely to be accurate.
- Google Translate often produces translations that contain significant grammatical errors.
- Google Translate does not have a system to correct for translation errors.
- There is no way of reporting errors in order to avoid having them repeated, nor is there a way to proof read what has been translated unless one is fluent in both the source and the target language.
Tags:
GoogleTranslateButton
GoogleTranslate
GoogleTranslate
Widget
Google Translate
Button, Google Translate Widget
How to add
Google translate button on your webpage?
How to add
Google translate widget
Add Google
translate button in blogger
Add Google
translate button in wordpress