Grab the RSS feed

Create multilingual site and allow user to make content in their native language.

Hi Friends,

The multilingual site is now popular more than before a year. Because the user coming to internet is not only the English experts. Even the rural peoples those who are not having the English as first language want to access the internet content. I will give the simple example and efficiency of multilingual site.

“Information is World”

Why Multilingual?

A good question why we need to make the same content in different languages. This is because you can get the users globally. Not only from English as first language countries. From my real life experience:
My friends’ brother come to my home and asked me to collect the ten noble prize winners and the reason for getting the noble prize. Then I googled it and collect the information of 10 peoples and the reason for getting noble prize. Then he told me he is not from the English is the medium in his school. So he wants to collect the information in his language. But most of the website provides the information in English only. After that we go for wikipedia and got the information in his language.
This is a small example. Like that we can give more reasons for creating the multilingual website.

How Convert the content into several languages in single click?

If you are providing the information and not allow the user to make the content you can convert the entire site content into 52 languages in a single click using the http://translateth.is/. I used it and tested it. Its really fast and easy to integrate into your site by simple copy and paste of their JavaScript. You can get the translate button and in a single click you can convert the entire content into the language what they want to use. This will reduce the time and no headache for the webdevelopers.








Allowing user to make content in their language.

Some times we need to allow the user to make the content like giving comments, etc.,.At that time we can use the google Ajax API to make the virtual keyboard to the user and allowing them to make the content in their language. For this first you need to get the key by registering on their site and then use it for your site. Below I will give the example how to use google Ajax translation API.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>

    <title>Google AJAX Language API Sample</title>

    <script src="https://www.google.com/jsapi?key=Your KEY"></script>

    <script type="text/javascript">


    google.load("elements", "1", {

          packages: "keyboard"

      });

function onLoad() {

        var kbd = new google.elements.keyboard.Keyboard(

          [google.elements.keyboard.LayoutCode.YOUR LANGUAGE],

          ['t1']);

      }


      google.setOnLoadCallback(onLoad);

    </script>

  </head>

  <body style="font-family: Arial;border: 0 none;">

    <textarea id="t1" style="width: 600px; height: 200px;"></textarea>

  </body>

</html>

Put the language what you want in the given format. But for saving the content in different language you need to consider the database charset. It needs to support your language.
Thanks.

0 comments:

  •  
    Real Time Web Analytics