Re: [OT] Multi - Language
This WebDNA talk-list message is from 2007
It keeps the original formatting.
numero = 69156
interpreted = N
texte = I have been building multilingual web application since building webapplication....I use it like this (with WebDNA):1. Use a cookie to store the language preference of the user.2. Use a database for each language.3. Write a function that query the database (if you use the cookie value asthe db name you make it easy) and outputs the value you like to query.Example:"This is my text to translate". This sentence has the id "mytext" in thedatabase.Now with a function you could use something like [translatethismytext="mytext"].Now you have a system that expands automatically and all you need to do fora new language is to give the user an option to chose the new language andadd the db for this language.Easy, simple, straight forward.Hope this helps.NitaiOn 7/5/07 10:15 PM, "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> -- ComputerOil - a brand of Incite Media AG - eBusiness Systems simplified.eContentPark - Enterprise Digital Asset Management free of chargeeSurvey - Online Questionnaire made easyRedakto CMS - Content Management that simply worksComputerOil @ Incite Media AGRiedthofstrasse 1248105 Regensdorf / Switzerlandinfo@incitemedia.tvhttp://www.incitemedia.tvhttp://www.computeroil.comhttp://www.econtentpark.com-------------------------------------------------------------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:
I have been building multilingual web application since building webapplication....I use it like this (with WebDNA):1. Use a cookie to store the language preference of the user.2. Use a database for each language.3. Write a function that query the database (if you use the cookie value asthe db name you make it easy) and outputs the value you like to query.Example:"This is my text to translate". This sentence has the id "mytext" in thedatabase.Now with a function you could use something like [translatethismytext="mytext"].Now you have a system that expands automatically and all you need to do fora new language is to give the user an option to chose the new language andadd the db for this language.Easy, simple, straight forward.Hope this helps.NitaiOn 7/5/07 10:15 PM, "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> -- ComputerOil - a brand of Incite Media AG - eBusiness Systems simplified.eContentPark - Enterprise Digital Asset Management free of chargeeSurvey - Online Questionnaire made easyRedakto CMS - Content Management that simply worksComputerOil @ Incite Media AGRiedthofstrasse 1248105 Regensdorf / Switzerlandinfo@incitemedia.tvhttp://www.incitemedia.tvhttp://www.computeroil.comhttp://www.econtentpark.com-------------------------------------------------------------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/
"Nitai @ ComputerOil"
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:
RAW=T..Strange behaviour (2000)
emailer setup (1997)
sendmail and accented characters (1998)
Problems with Frames (1998)
Appendfile memory usage (redux) (2003)
Sort Order on a page search (1997)
blank page from template (1997)
WebCatalog for Postcards ? (1997)
[AppendFile] problem (WebCat2b13 Mac .acgi) (1997)
Mac: LModelDirector bug fix (1997)
Nested Loops and SHOWIFs (1997)
Finer than a second. (2001)
Triggers (2004)
Share Bulletin Board? (1998)
Requiring that certain fields be completed (1997)
tab as word delimiter (2000)
Reminder for beta testers (2000)
setitems, one more thing (1997)
Creditcard verification with WebCat (1998)
PIXO support (1997)