How web design multi language

Posted on 2009-02-13
Last Modified: 2012-05-06
How design a good mutli language website
Question by:smoketrain
    1 Comment
    LVL 31

    Accepted Solution

    You can use javascript to detect the language of the browser, then redirect to the appropriate page for that language.  You can check for localized versions or just the main language - for example you can look for 'en' for English or 'en-us' for American dialect, 'en-uk' for British dialect, 'en-au' for Australian, etc.  Note that the occasional rare user may experience an issue if they mask the language of their browser by declaring no default language - my advice for this issue is to just move on an only worry about it if it is a real issue for some reason as it will take awhile to research.

    Alternatively, you could have pictures of various flags prominently displayed on the home page, or the name of the language written in that language.  When you click on it, then it will redirect to the appropriate site for that language (e.g. is the primary language for your site, lets say german, then you could link to for english, for french, for japanese, for chinese, for russian, etc.).  Some companies will also check for a language cookie and if none will show a basic world map, click the continent, then click the country, then set the cookie.  Make sure you have an option available to change that setting as some people may like to find similar info in another language or area to send to others.

    You can set up a quick replication of your site by using something like Google Tools:
    This will get you a basic interpretation for your site quickly while you wait for the real interpreters to redo the site.  12 people will give you 13 responses to this as to whether it is a good idea or not.  It gets the other sites out quickly, even if not perfect - which can be an advantage.  However, an oddly worded site can sometimes reduce customer confidence so they may not want to come back, making it not only a wasted visit but a negative experience.  You definately need to incorporate a review to make sure there are bad terms presented by accident in the interpretation making it either offensive or nonsensical (for example, in russian the word MIR can mean: earth, peace, the name of their first major spacestation).  However, the quick interpretation can be reviewed to make sure it isn't too far out there and make some minor changes to clean it up to get the first rollout quicker and make it 'professional enough' while you wait another month or two for the final results.

    For Javascript, here is a good article:

    A brief example would be:
    var userLang = (navigator.language) ? navigator.language : navigator.userLanguage;
    alert ("The language is: " + userLang);

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Join & Write a Comment

    If you use a Brother DCP 130C or similar Brother printer, at some point you might encounter the following problem: after you change the ink cartridge, the printer displays an "ink empty" message. Sometimes you just need to follow the instructions…
    This seems to be a very common error related to the Samsung printer driver. First, this is the error we're talking about: Log: System Type: Error Event: 7000 Agent Time: 3:37:24 am 22-Apr-09 Event Time: 6:07:24 pm 21-Apr-09 UTC Source: Se…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now