www.webdeveloper.com
Results 1 to 4 of 4

Thread: Create a static multilingual site using Apache multiview

  1. #1
    Join Date
    Jun 2007
    Posts
    3

    Create a static multilingual site using Apache multiview

    Hi,

    I'm creating a Welsh / English website and would like to use Apache multiview (index.html.en, index.html.cy) to store and serve the appropriate content. This works perfectly when the user configures their browser to display content in either Welsh or English. so far.

    Now I want to allow users to select which language they want direct users to the correct language thoughout the site. So, when a user clicks on a link to index.html, they're taken to index.html.cy if they select Welsh, or index.html.en if they select English.

    I've trawled through the w3c site but can't find any information on how to do this. Is that because it can't be done (multiview can only serve content based on the user's preferences)?

    Much obliged for any information on how to do this.

    D...

  2. #2
    Join Date
    Nov 2003
    Location
    Jerryville, Tejas
    Posts
    11,715
    I suspect that's the case. What you want to do would probably have to be cookie driven and probably would need some extra code written to handle the language preference.

  3. #3
    Join Date
    Jun 2007
    Posts
    3
    Hoorah! Found how to do it: http://www.gerv.net/hacking/language-selection/.

    D...

  4. #4
    Join Date
    Nov 2003
    Location
    Jerryville, Tejas
    Posts
    11,715
    Nice technique.

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