Friday, August 26, 2011

International

Ok so lets look at this from a business perspective. Your an English speaking person. Your going to make a website obviously in English thinking you will reach out to tons of people, which you will, but think of it another way. There is around 300 million people living in the United States and around 60 million living in England. Your website is only available to a statistical 360 million people. Sure, people in other countries speak english pretty well as a second language but there is no convenience there and thats what websites need: Convenience.  Now what if you could make a feature on your website where your user could change the language of the website to a selected language.

Think of the first language you would translate to; the best way to do this is to think of the next biggest language other then English. Yes, Spanish.

330 million people speak Spanish in the world as a first language. Translating your webpage into spanish might seem like a challenge but remember, you have a Web-Engine. Creating a page in Spanish could be as easy as pasting the words in a Google translator and pasting the outcome in some HTML tags. But creating the entire website into a spanish translation? Easy.

The home page will have a variable, lets set the variable equal to $english_top_news. now $top_news has a value of the latest news in english which is echo'd onto the home page. Now right in the Web-Engine, you can take that same $english_top_news variable and create another $top_news variable called $spanish_top_news and translate your english top news over into spanish and echo it out onto the now spanish home page. But wait, how will you know if the user needs the home page to be in Spanish? Easy. Create a cookie and set it equal to $language. Now on the very top part of the webpage will be a menu bar looking like this:

English | Espanol | Deutsch | Franciase

Now when that Espanol button is clicked, BAM, the $language cookie is set to spanish. But the cookie isnt enough. Now we have to create an if statement that will check the value of the $language cookie. Easy.

if($language==spanish){
     echo $spanish_top_news;
}else {echo $english_top_news;}

What this is saying is, if the $language cookie is equal to Spanish, write the top news in Spanish. If the $language cookie is equal to english or nothing, write the top news in English. Web-Engine makes this easier and no, i have not fully implemented this in my Web-Engine, it will come out in later versions. Just by taking a few more moments out of your time, you have statistically doubled your audience to nearly 700 million, and i say statistically because  700 million people probably arent going to be interested in your site, to find out more exact numbers you would need to break it down into age groups and social structures and media and more technical stuff that really wouldnt take that long to figure out.




No comments:

Post a Comment