Re: any suggestions for creating a multi-lingual site?

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 25680
interpreted = N
texte = Hmmm, A few thoughts. It is possible to read the language from the browser but for example you can have several favours of English like EN-US and EN and EN-UK so its not really useful. Also most people do not change their browser prefs and lots of people do not know what their Language prefs are. I would take first time people to a page where they can select their language. Set a cookie with this pref and also set it as a [header] in an an order file. You can then pull this out of the orderfile on any page instead of getting the cookie each time. The other way is to just pass it as a variable on each link, eg &lang=EN. Hope this helps. >Jesse, > >Thanks for the suggestion. I really need to do this all within WebCatalog. >There is the possibility that this site will move to Mac OS X or Linux in >the near future. > >I will have some other people working on the actual menu text in the other >languages so I will be creating some forms for them to edit the language >they have been assigned. One of the goals of this site is to have all of >the content in the database, making is much easier to update the look and >feel, etc. a few includes and the templates will basically only have webcat >code in them. > >Dale > > > > -----Original Message----- > > From: Jesse Williams Proudman [SMTP:lists@ninewire.com] > > Sent: Tuesday, December 21, 1999 10:19 > > To: WebDNA-Talk@talk.smithmicro.com > > Subject: Re: any suggestions for creating a multi-lingual site? > > > > You could do this using Welcome and some fancy rule work. The Welcome PI > > for Webstar does some pretty neat things. It would allow you to pass the > > language variable as a fake subdirectory or even read it from the users > > browser and pass it to WebCat. > > > > If you have questions, let me know. > > > > Jesse Williams Proudman - NineWire Production > > http://www.ninewire.com <-> Jesse@ninewire.com > > Innovative and Creative Web Design and Hosting > > > > > -----Original Message----- > > > From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On > > > Behalf Of Therio, Dale > > > Sent: Tuesday, December 21, 1999 1:29 AM > > > To: WebCatalog Talk > > > Subject: any suggestions for creating a multi-lingual site? > > > > > > > > > Typhoon Pro v3.04 plugin / MacOS / WS 4.0 > > > > > > Hi folks, > > > > > > I am developing a site where I want people to be able to choose > > > the language > > > for the menus. All of the text will be in a database (no babelfish > > > translation here!). > > > > > > My thoughts are to save the choice of lanuage in a cookie so on return > > > visits they wll get their lanaguge choice automatically (and can still > > > change it of course). > > > > > > As I would prefer not to pass the langauge choice in the URL > > > (trying to keep > > > the URLs as clean as possible) it would seem that I need to read > > > the cookie > > > on each page. Having never worked with cookies before, is there a > > > performance penalty to doing this? Or is the cookie in memory once it is > > > read the first time? > > > > > > Is it possible to read the language choice set in the browser via > > > webcat? If > > > so, I could read that value and simply display the menus in that > > langauge > > > (if it is one I support). But there is that perfomance question > > > once again. > > > > > > Any other suggestions on making the site multi-lingual? Primarily > > > the menus > > > will have a choice of languages, and eventually some of the > > > content will be > > > available in different languages as well. > > > > > > I am concerned about the performance as I had to remove individual page > > > (record) counters that I had using the example provided as I was getting > > a > > > lot of thread lock files on a daily basis and they did slow the > > > system down > > > quite a bit (I am getting around 50,000 page views per day, which is > > about > > > 75,000 database searches across 5 databases). The server is currently a > > > 333mhz iMac with 160 meg of memory. I do expect to upgrade this server > > to > > > whatever G4 is available probably in March/April. > > > > > > Mit freundlichen Grüßen / Best Regards > > > > > > Dale Therio > > > > > > Dresdner Kleinwort Benson Research > > > Jürgen-Ponto-Platz, 1 > > > Frankfurt, Germany > > > +49 (0) 69 263 19977 - phone > > > +49 (0) 69 263 11379 - fax > > > > > > > > > > > > ------------------------------------------------------------- > > > Brought to you by CommuniGate Pro - The Buzz Word Compliant > > > Messaging Server. > > > To end your Mail problems go to . > > > > > > This message is sent to you because you are subscribed to > > > the mailing list . > > > To unsubscribe, E-mail to: > > > To switch to the DIGEST mode, E-mail to > > > > > > > > > ------------------------------------------------------------- > > Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging > > Server. > > To end your Mail problems go to . > > > > This message is sent to you because you are subscribed to > > the mailing list . > > To unsubscribe, E-mail to: > > To switch to the DIGEST mode, E-mail to > > > >------------------------------------------------------------- >Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. >To end your Mail problems go to . > >This message is sent to you because you are subscribed to > the mailing list . >To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to >Micheal O Shea Email:micheal@com4u.ch com 4 u http://www.com4u.ch Breitistrasse 7B CH-5506 Maegenwil Tel: +41 62 896 46 26------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Associated Messages, from the most recent to the oldest:

    
  1. Re: any suggestions for creating a multi-lingual site? (Therio, Dale 1999)
  2. Re: any suggestions for creating a multi-lingual site? (Christer Olsson 1999)
  3. Re: any suggestions for creating a multi-lingual site? (Nicolas Verhaeghe 1999)
  4. Re: any suggestions for creating a multi-lingual site? (Michael O Shea 1999)
  5. Re: any suggestions for creating a multi-lingual site? (Therio, Dale 1999)
  6. Re: any suggestions for creating a multi-lingual site? (Michael O Shea 1999)
  7. Re: any suggestions for creating a multi-lingual site? (Therio, Dale 1999)
  8. any suggestions for creating a multi-lingual site? (Therio, Dale 1999)
  9. Re: any suggestions for creating a multi-lingual site? (Jesse Williams Proudman 1999)
Hmmm, A few thoughts. It is possible to read the language from the browser but for example you can have several favours of English like EN-US and EN and EN-UK so its not really useful. Also most people do not change their browser prefs and lots of people do not know what their Language prefs are. I would take first time people to a page where they can select their language. Set a cookie with this pref and also set it as a [header] in an an order file. You can then pull this out of the orderfile on any page instead of getting the cookie each time. The other way is to just pass it as a variable on each link, eg &lang=EN. Hope this helps. >Jesse, > >Thanks for the suggestion. I really need to do this all within WebCatalog. >There is the possibility that this site will move to Mac OS X or Linux in >the near future. > >I will have some other people working on the actual menu text in the other >languages so I will be creating some forms for them to edit the language >they have been assigned. One of the goals of this site is to have all of >the content in the database, making is much easier to update the look and >feel, etc. a few includes and the templates will basically only have webcat >code in them. > >Dale > > > > -----Original Message----- > > From: Jesse Williams Proudman [SMTP:lists@ninewire.com] > > Sent: Tuesday, December 21, 1999 10:19 > > To: WebDNA-Talk@talk.smithmicro.com > > Subject: Re: any suggestions for creating a multi-lingual site? > > > > You could do this using Welcome and some fancy rule work. The Welcome PI > > for Webstar does some pretty neat things. It would allow you to pass the > > language variable as a fake subdirectory or even read it from the users > > browser and pass it to WebCat. > > > > If you have questions, let me know. > > > > Jesse Williams Proudman - NineWire Production > > http://www.ninewire.com <-> Jesse@ninewire.com > > Innovative and Creative Web Design and Hosting > > > > > -----Original Message----- > > > From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On > > > Behalf Of Therio, Dale > > > Sent: Tuesday, December 21, 1999 1:29 AM > > > To: WebCatalog Talk > > > Subject: any suggestions for creating a multi-lingual site? > > > > > > > > > Typhoon Pro v3.04 plugin / MacOS / WS 4.0 > > > > > > Hi folks, > > > > > > I am developing a site where I want people to be able to choose > > > the language > > > for the menus. All of the text will be in a database (no babelfish > > > translation here!). > > > > > > My thoughts are to save the choice of lanuage in a cookie so on return > > > visits they wll get their lanaguge choice automatically (and can still > > > change it of course). > > > > > > As I would prefer not to pass the langauge choice in the URL > > > (trying to keep > > > the URLs as clean as possible) it would seem that I need to read > > > the cookie > > > on each page. Having never worked with cookies before, is there a > > > performance penalty to doing this? Or is the cookie in memory once it is > > > read the first time? > > > > > > Is it possible to read the language choice set in the browser via > > > webcat? If > > > so, I could read that value and simply display the menus in that > > langauge > > > (if it is one I support). But there is that perfomance question > > > once again. > > > > > > Any other suggestions on making the site multi-lingual? Primarily > > > the menus > > > will have a choice of languages, and eventually some of the > > > content will be > > > available in different languages as well. > > > > > > I am concerned about the performance as I had to remove individual page > > > (record) counters that I had using the example provided as I was getting > > a > > > lot of thread lock files on a daily basis and they did slow the > > > system down > > > quite a bit (I am getting around 50,000 page views per day, which is > > about > > > 75,000 database searches across 5 databases). The server is currently a > > > 333mhz iMac with 160 meg of memory. I do expect to upgrade this server > > to > > > whatever G4 is available probably in March/April. > > > > > > Mit freundlichen Grüßen / Best Regards > > > > > > Dale Therio > > > > > > Dresdner Kleinwort Benson Research > > > Jürgen-Ponto-Platz, 1 > > > Frankfurt, Germany > > > +49 (0) 69 263 19977 - phone > > > +49 (0) 69 263 11379 - fax > > > > > > > > > > > > ------------------------------------------------------------- > > > Brought to you by CommuniGate Pro - The Buzz Word Compliant > > > Messaging Server. > > > To end your Mail problems go to . > > > > > > This message is sent to you because you are subscribed to > > > the mailing list . > > > To unsubscribe, E-mail to: > > > To switch to the DIGEST mode, E-mail to > > > > > > > > > ------------------------------------------------------------- > > Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging > > Server. > > To end your Mail problems go to . > > > > This message is sent to you because you are subscribed to > > the mailing list . > > To unsubscribe, E-mail to: > > To switch to the DIGEST mode, E-mail to > > > >------------------------------------------------------------- >Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. >To end your Mail problems go to . > >This message is sent to you because you are subscribed to > the mailing list . >To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to >Micheal O Shea Email:micheal@com4u.ch com 4 u http://www.com4u.ch Breitistrasse 7B CH-5506 Maegenwil Tel: +41 62 896 46 26------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Michael O Shea

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Encrypt broken on Mac 3.05b13?? (2000) Forbidden CGI Error (1997) RE: Loss in form (1998) re: Large databases in WebCat (1997) FW: weird problem (2004) WC1.6 to WC2 date formatting -FIXED! (1997) Session ID Equivalent (2003) Dummy Credit Card Number for debug? (1997) WebCat NT v. Mac (1997) Comments in db? (1997) default value from Lookup (was Grant, please help me) (1997) Shownext problems (1999) WebCat2.0 [format thousands .0f] no go (1997) Creating 404 Not Found pages (1999) New Guestbook Source (1997) Emailer Set Up (1997) WebCat2: Found Items syntax, etc. (1997) Threaded Discussion (1998) TCPConnect / TCPSend to Solaris NN Enterprise (2002) Searching multiple Databases (1997)