Google Translate Tool: Quickly implement multilingual websites

Google Translate Tool: Quickly implement multilingual websites
Google China has released a translation tool that can quickly and easily make a website or blog multilingual. All you need to do is add a line of JavaScript code to your website, and you can immediately translate the website into various languages ​​​​around the world. The translation is achieved by directly calling Google's translation URL.

You only need to spend a minute to paste a small piece of HTML code into your web page code, and then foreign netizens speaking 23 other languages ​​can easily understand your Chinese web pages in their native language through Google Translate!

Figure 1: Google Translate widget menu selection controls

When you paste the above HTML code into your web page code, the menu selection control of the Google Translate widget will be added to the relative position of your web page as shown in Figure 1. The menu will prompt the user to "Select a language", and the "Select a language" text will be displayed in the user's browser interface language. For example, if the user is using an English browser, the prompt text is "Select Language"; if the user is using a Russian browser, the prompt text is "Выберите язык". In this way, foreign language users can browse in the language they are familiar with through the Google Translate widget. When the user presses the menu, the Google Translate widget will display twenty languages ​​in the menu.

Figure 2: Languages ​​listed in the Google Translate widget menu

When the user selects Chinese, the Google Translate widget will immediately perform machine translation on your web page into the language used by foreign language users. You may not understand the text in the menu. This is because the Google Translate widget displays the name of the language in that language so that speakers of that language can understand it. For example, in the menu we display it in Russian "Русский". If we display it as "Russian" (displayed in Chinese), Russian speakers will not understand it.

Figure 3: Google Translate gadget translates the Chinese webpage http://2008sanya.tianya.cn/ into Russian

Currently, the Google Translate widget provides translations for Chinese web pages (and web pages in other languages) into twenty-three other languages: Chinese (Traditional), English, Arabic, Bulgarian, Polish, Korean, Danish, German, Russian, French, Finnish, Dutch, Czech, Croatian, Romanian, Norwegian, Portuguese, Japanese, Swedish, Spanish, Greek, Italian and Hindi. That is to say, when your website uses the Google Translate widget, your website can immediately be displayed in another 23 languages. This is a great blessing for all aspiring website owners who hope to keep up with the international standards and let netizens around the world understand China's extensive and profound web information. Of course, the quality of automatic machine translation is still far behind that of manual translation by professional but expensive translation companies, and the translated text is definitely not as "faithful, accurate and elegant" as manual translation. But think about how much time and money it would take to have your web page translated into twenty-three languages ​​by a translation company. The Google Translate widget provides foreign language information that is "better than nothing" when time and money are limited.
The Google Translate widget allows you to win the world in just one minute and instantly upgrade your website to global internationalization. Go to the Google Translate widget settings page.

Figure 4: Languages ​​provided by Google

<<:  JavaScript custom calendar effect

>>:  Several common CSS layouts (summary)

Recommend

Detailed explanation of VUE responsiveness principle

Table of contents 1. Responsive principle foundat...

Idea configures tomcat to start a web project graphic tutorial

Configure tomcat 1. Click run configuration 2. Se...

A brief discussion on the CSS overflow mechanism

Why do you need to learn CSS overflow mechanism i...

How to connect to MySQL database using Node-Red

To connect Node-red to the database (mysql), you ...

CSS easily implements fixed-ratio block-level containers

When designing H5 layout, you will usually encoun...

Details on how to write react in a vue project

We can create jsx/tsx files directly The project ...

Detailed explanation of Kubernetes pod orchestration and lifecycle

Table of contents K8S Master Basic Architecture P...

js realizes the magnifying glass function of shopping website

This article shares the specific code of js to re...

Detailed explanation of the role of static variables in MySQL

Detailed explanation of the role of static variab...

Using JavaScript difference to implement a comparison tool

Preface At work, I need to count the materials su...

User Experience Summary

Nowadays, whether you are working on software or w...

How to implement second-level scheduled tasks with Linux Crontab Shell script

1. Write Shell script crontab.sh #!/bin/bash step...

The most convenient way to build a Zookeeper server in history (recommended)

What is ZooKeeper ZooKeeper is a top-level projec...

Example of creating circular scrolling progress bar animation using CSS3

theme Today I will teach you how to create a circ...