Changin the language


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Changin the language

  1. #1
    Join Date
    Jun 2005
    Posts
    2

    Question Changin the language

    I need to change the language of my webpage when the user clicks the language of their choice...
    how do i do this..
    i would like this to be consistent thru my whole sit as the visitor views it..if this is too difficult then just one page will be enuf..

    Thanx in Advanced
    Darcey - Presedient of Evil Penguin Enterprises

  2. #2
    Join Date
    Nov 2004
    Location
    Norway
    Posts
    1,560
    Long ago, when I was knitttng web pages, we used to create separate folders and/or
    used naming style (enPage.html, gePage.html) for the site. We were never very
    exited about those jobs.
    eschew obfuscation

  3. #3
    Join Date
    Oct 2004
    Posts
    311
    if you are able to use server side coding, you could set up language files.
    (enText.tst, nlText.txt, etc...)
    which would look like:
    page1.header=hello world
    page2.header=page2 hello world
    etc.

    then all you need is a method that parses the text file and reads the apropriate text into the page.

    Mark

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
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center