Re: Languages

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12616
interpreted = N
texte = >I want to be able to check what country the user is coming from so that >I display the correct language in the site. The only way I can think of >doing this is by getting the user to select a country by clicking on the >appropriate flag, and then go into the site.We are considering adding full MIME header variable support, so you can grab the language header information.For now, since some browsers put the language into the [BrowserName], you can grab the language entity from there.Mozilla/1.1I [fr] (Windows; I; 16bit)You can be pretty sure this is a French-speaking user, so the showif would look like[showif [BrowserName]^[fr]] You're from France! [/showif]Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: Quotes about Computer Languages ( Rob Marquardt 2004)
  2. Quotes about Computer Languages ( Brian B. Burton 2004)
  3. [OT] Adding languages to Alpha Editor ( Alan White 2004)
  4. Re: OT:Programming Languages are Like Women ( "Kimberly D. Walls" 2004)
  5. Re: OT:Programming Languages are Like Women ( Tim Robinson 2004)
  6. Re: OT:Programming Languages are Like Women ( "Gary Krockover" 2004)
  7. OT:Programming Languages are Like Women ( "Sal" 2004)
  8. Re: Webcatalog and foreign languages (PCS Technical Support 1998)
  9. Re: Webcatalog and foreign languages (Peter Brown 1998)
  10. Re: Webcatalog and foreign languages (PCS Technical Support 1998)
  11. Re: Webcatalog and foreign languages (Christer Olsson 1998)
  12. Re: Webcatalog and foreign languages (Peter Brown 1998)
  13. Re: Webcatalog and foreign languages (PCS Technical Support 1998)
  14. Re: Webcatalog and foreign languages (Kenneth Grome 1998)
  15. Re: Webcatalog and foreign languages (PCS Technical Support 1998)
  16. Webcatalog and foreign languages (Peter Brown 1998)
  17. Re: foreign languages, email, webcat (Christer Olsson 1998)
  18. Re: foreign languages, email, webcat (Sandra L. Pitner 1998)
  19. Re: foreign languages, email, webcat (Christer Olsson 1998)
  20. Re: foreign languages, email, webcat (PCS Technical Support 1998)
  21. foreign languages, email, webcat (Sandra L. Pitner 1998)
  22. RE: Languages (Grant Hulbert 1997)
  23. RE: Languages (Kenneth Grome 1997)
  24. RE: Languages (Olin 1997)
  25. RE: Languages (Christer Olsson 1997)
  26. RE: Languages (Grant Hulbert 1997)
  27. RE: Languages (Paul Keen 1997)
  28. Re: Languages (Grant Hulbert 1997)
  29. Re: Languages (Olin 1997)
  30. Re: Languages (Grant Hulbert 1997)
  31. Languages (Paul Keen 1997)
  32. Re: problem serving foreign languages text (Kenneth Grome 1997)
  33. problem serving foreign languages text (ltpladys 1997)
  34. Re: problem serving foreign languages text (grichter@panavise.com (Gary Richter) 1997)
>I want to be able to check what country the user is coming from so that >I display the correct language in the site. The only way I can think of >doing this is by getting the user to select a country by clicking on the >appropriate flag, and then go into the site.We are considering adding full MIME header variable support, so you can grab the language header information.For now, since some browsers put the language into the [browsername], you can grab the language entity from there.Mozilla/1.1I [fr] (Windows; I; 16bit)You can be pretty sure this is a French-speaking user, so the showif would look like[showif [browsername]^[fr]] You're from France! [/showif]Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Grant Hulbert

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:

Why WebMerchant not working? (1999) WebDNA vs SQL ? (2002) sort problems....bug or brain fart? (1997) [OT] Unix question -solution?- (2002) OT: passing variables to .asp (2000) RE: Migrating to NT (1997) Banner DNA (1997) HELP WITH DATES (1997) [BULK] [WebDNA] Cloud Server install notes - Ubuntu 14.04 (2018) WebCat2: Items xx to xx shown, etc. (1997) WebCat2 - storing unformatted date data? (1997) Setting up the server (1997) Bug in capitalize ... ? (2003) faxing orders (2000) New WebCatalog Version !!! (1997) Add to Cart & List of Products (1997) A Trigger Question (2000) How to show via drop down menu? (2000) [Shell] not relative (2000) Using Plug-In while running 1.6.1 (1997)