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 Solution11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
| |
- Re: Quotes about Computer Languages ( Rob Marquardt 2004)
- Quotes about Computer Languages ( Brian B. Burton 2004)
- [OT] Adding languages to Alpha Editor ( Alan White 2004)
- Re: OT:Programming Languages are Like Women ( "Kimberly D. Walls" 2004)
- Re: OT:Programming Languages are Like Women ( Tim Robinson 2004)
- Re: OT:Programming Languages are Like Women ( "Gary Krockover" 2004)
- OT:Programming Languages are Like Women ( "Sal" 2004)
- Re: Webcatalog and foreign languages (PCS Technical Support 1998)
- Re: Webcatalog and foreign languages (Peter Brown 1998)
- Re: Webcatalog and foreign languages (PCS Technical Support 1998)
- Re: Webcatalog and foreign languages (Christer Olsson 1998)
- Re: Webcatalog and foreign languages (Peter Brown 1998)
- Re: Webcatalog and foreign languages (PCS Technical Support 1998)
- Re: Webcatalog and foreign languages (Kenneth Grome 1998)
- Re: Webcatalog and foreign languages (PCS Technical Support 1998)
- Webcatalog and foreign languages (Peter Brown 1998)
- Re: foreign languages, email, webcat (Christer Olsson 1998)
- Re: foreign languages, email, webcat (Sandra L. Pitner 1998)
- Re: foreign languages, email, webcat (Christer Olsson 1998)
- Re: foreign languages, email, webcat (PCS Technical Support 1998)
- foreign languages, email, webcat (Sandra L. Pitner 1998)
- RE: Languages (Grant Hulbert 1997)
- RE: Languages (Kenneth Grome 1997)
- RE: Languages (Olin 1997)
- RE: Languages (Christer Olsson 1997)
- RE: Languages (Grant Hulbert 1997)
- RE: Languages (Paul Keen 1997)
- Re: Languages (Grant Hulbert 1997)
- Re: Languages (Olin 1997)
- Re: Languages (Grant Hulbert 1997)
- Languages (Paul Keen 1997)
- Re: problem serving foreign languages text (Kenneth Grome 1997)
- problem serving foreign languages text (ltpladys 1997)
- 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 Solution11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/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:
Date Math bug (1998)
WebCatalog for guestbook ? (1997)
Protect and Serve (1999)
filtering [founditems] (2004)
Date Calulation (1997)
Setting up shop (1997)
Status? (2000)
Fulfillment Centers (2000)
webten vs. webstar (1998)
WebCat 4.51 on Fedora Core 1 (2004)
[WebDNA] Crashing Database (2011)
Buying sans cart (1997)
displaying New products (using [date]) (1997)
cybercash question (2000)
Loss in Form (1998)
Million product store (2003)
Help: Append context problems (1999)
Reversed words (1997)
test (2003)
Quickie question on the email templates (1997)