www.webdeveloper.com
Results 1 to 2 of 2

Thread: multiple languages

  1. #1
    Join Date
    May 2008
    Posts
    4

    multiple languages

    how do i go about coding multiple human languages?
    like having english and than changing it to chinese when they select chinese from a drop down box

  2. #2
    Join Date
    Dec 2004
    Location
    New York, USA
    Posts
    194
    what coding languages are you using (ie. JavaScript, Java, ASP, PHP, ASP.NET, Perl, etc.)? You might want to post this question in the forum of the language you are using. I believe .NET has something built in for that.

    I've only heard one way of using XML to change languages. You need the text to be written in each language. Then you put it into XML. For example:
    Code:
    <languages>
         <language id="english">
              <text>Hello</text>
         </language>
         <language id="spanish">
              <text>Hola</text>
         </language>
    </languages>

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles