Re: [OT] Multi - Language

This WebDNA talk-list message is from

2007


It keeps the original formatting.
numero = 69155
interpreted = N
texte = Hey Donovan, I have been developing something similar here myself. For the Admins of my CMS I have started to replace all directions and text labels with language variables. In my system it's a global setting in the prefs.db that chooses the language, but that works for my application It sounds like the cookie is better for yours. I have a generic language db with a language indicator, variable name, and actual words (english or french). Of course this means I had to create an entire language module to manage the ever expanding system or variables, and it still has bugs, but getting better. Anyway, I'm still working out the specific details, but some pages I preload the appropriate language variables at the top, and sometimes I just perform a lookup if it's only 1 or 2 per page. Hopefully my ideas help. ----------------- Matthew A Perosi Psi Prime, Inc. 323 Union Blvd Totowa, NJ 07512 Phone: 973-413-8210 Fax: 973-413-8217 Donovan Brooke wrote: > Hello all... since it's a bit slow.. > > I am doing a site right now that is to be both english and > spanish. I am looking for suggestion on the best way to > accomplish this. > > So far, I have created a language cookie... so once the > user clicks on the "spanish" flag for example, a cookie is > set specifying such. I then, at the top of the page, set > a text variable with language and have, so far, created > if then statements on some of the buttons to pull the > appropriate button images. > > However, for the text, I'm not sure of the best way to > handle this. Any suggestions? > > thanks, > Donovan > > ------------------------------------------------------------- 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 Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [OT] Multi - Language ( John Peacock 2007)
  2. Re: [OT] Multi - Language ( "Nitai @ ComputerOil" 2007)
  3. Re: [OT] Multi - Language ( Donovan Brooke 2007)
  4. Re: [OT] Multi - Language ( Stuart Tremain 2007)
  5. Re: [OT] Multi - Language ( Chris 2007)
  6. Re: [OT] Multi - Language ( "Nitai @ ComputerOil" 2007)
  7. Re: [OT] Multi - Language ( Matthew A Perosi 2007)
  8. Re: [OT] Multi - Language ( John Peacock 2007)
  9. [OT] Multi - Language ( Donovan Brooke 2007)
Hey Donovan, I have been developing something similar here myself. For the Admins of my CMS I have started to replace all directions and text labels with language variables. In my system it's a global setting in the prefs.db that chooses the language, but that works for my application It sounds like the cookie is better for yours. I have a generic language db with a language indicator, variable name, and actual words (english or french). Of course this means I had to create an entire language module to manage the ever expanding system or variables, and it still has bugs, but getting better. Anyway, I'm still working out the specific details, but some pages I preload the appropriate language variables at the top, and sometimes I just perform a lookup if it's only 1 or 2 per page. Hopefully my ideas help. ----------------- Matthew A Perosi Psi Prime, Inc. 323 Union Blvd Totowa, NJ 07512 Phone: 973-413-8210 Fax: 973-413-8217 Donovan Brooke wrote: > Hello all... since it's a bit slow.. > > I am doing a site right now that is to be both english and > spanish. I am looking for suggestion on the best way to > accomplish this. > > So far, I have created a language cookie... so once the > user clicks on the "spanish" flag for example, a cookie is > set specifying such. I then, at the top of the page, set > a text variable with language and have, so far, created > if then statements on some of the buttons to pull the > appropriate button images. > > However, for the text, I'm not sure of the best way to > handle this. Any suggestions? > > thanks, > Donovan > > ------------------------------------------------------------- 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 Web Archive of this list is at: http://webdna.smithmicro.com/ Matthew A Perosi

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:

Credit card issuer by cc number? (1999) Make sure I understand this??? (1997) Comments in db? (1997) RE: [WebDNA] New Site (2010) [WebDNA] Adding Graphics to Directory (2009) Duplicate Cart ID (2001) Windows 2.1b2 Append Bug? (1997) WebCat Beta NT 18 (1997) WebCat2b15MacPlugin - [protect] (1997) form data submission get (1997) if/then/else in founditems (2001) Bug Report, maybe (1997) Security Hole (1998) TCPsend with POST? (1999) unable to launch acgi in WebCat (1997) Truncated value after space - refresh my memory.... (1997) Automatic POST arg sending? (1998) Mozilla/4. and Browser Info.txt (1997) Lookup Notfound (1998) RE: Automatic Forwarding using WebCat (1997)