Click here to Skip to main content
16,011,784 members
Home / Discussions / Web Development
   

Web Development

 
Generalposting XML to ASP page in IIS Pin
gerhard_schoeman5-Jun-03 1:35
gerhard_schoeman5-Jun-03 1:35 
GeneralHTTP Authentification, NTLM Pin
SoloVision4-Jun-03 21:57
SoloVision4-Jun-03 21:57 
GeneralSending form data to another website Pin
alex.barylski4-Jun-03 15:39
alex.barylski4-Jun-03 15:39 
GeneralRe: Sending form data to another website Pin
Vasudevan Deepak Kumar4-Jun-03 18:29
Vasudevan Deepak Kumar4-Jun-03 18:29 
GeneralMultilingual site Pin
Sarvesvara (BVKS) Dasa4-Jun-03 3:25
Sarvesvara (BVKS) Dasa4-Jun-03 3:25 
GeneralRe: Multilingual site Pin
Vasudevan Deepak Kumar4-Jun-03 4:19
Vasudevan Deepak Kumar4-Jun-03 4:19 
GeneralRe: Multilingual site Pin
Sarvesvara (BVKS) Dasa4-Jun-03 9:10
Sarvesvara (BVKS) Dasa4-Jun-03 9:10 
GeneralRe: Multilingual site Pin
theJazzyBrain6-Jun-03 9:06
theJazzyBrain6-Jun-03 9:06 
I have been working with multingual web sites for a while. The way I did (although I don't know if it is the best way) is as follows:

In the database you create more fileds of the same content for the different language. For example, if you have a table called PAGES and in the table you have the fields, PAGEID, PAGETITLE, PAGECONTENT you can change it to:

PAGEID, EN_PAGETITLE, AR_PAGETITLE, EN_PAGECONTENT, AR_PAGECONTENT

Where EN=English and AR=Arabic

Then you always have on the query string a value that holds the current language like this:

www.website.com/page.asp?pageID=1&lang=EN

Then when you build the SQL query in the ASP code you do this:

SELECT PAGEID, " & Request("lang") & "_PAGETITLE, " & Request("lang") & "_PAGECONTENT FROM PAGES WHERE PAGEID=1

and you can even switch the language at any page by just changing the querystring like this:

www.website.com/page.asp?pageID=1&lang=AR

which with the same SQL query will return the Arabic version of the page.

Hope I explained this clearly enough...Confused | :confused:
Regards,

|---------------|
| theJazzyBrain  |
|---------------|
GeneralRe: Multilingual site Pin
Sarvesvara (BVKS) Dasa7-Jun-03 3:16
Sarvesvara (BVKS) Dasa7-Jun-03 3:16 
GeneralRe: Multilingual site Pin
theJazzyBrain7-Jun-03 6:00
theJazzyBrain7-Jun-03 6:00 
GeneralRe: Multilingual site Pin
Sarvesvara (BVKS) Dasa8-Jun-03 4:32
Sarvesvara (BVKS) Dasa8-Jun-03 4:32 
GeneralRe: Multilingual site Pin
theJazzyBrain8-Jun-03 5:25
theJazzyBrain8-Jun-03 5:25 
GeneralRe: Multilingual site Pin
Sarvesvara (BVKS) Dasa8-Jun-03 20:58
Sarvesvara (BVKS) Dasa8-Jun-03 20:58 
GeneralRe: Multilingual site Pin
theJazzyBrain8-Jun-03 22:09
theJazzyBrain8-Jun-03 22:09 
GeneralRe: Multilingual site Pin
Sarvesvara (BVKS) Dasa8-Jun-03 22:15
Sarvesvara (BVKS) Dasa8-Jun-03 22:15 
GeneralRe: Multilingual site Pin
Sarvesvara (BVKS) Dasa8-Jun-03 22:59
Sarvesvara (BVKS) Dasa8-Jun-03 22:59 
GeneralID of the last record in the Database using ASP Pin
SantiagoSru3-Jun-03 14:08
sussSantiagoSru3-Jun-03 14:08 
GeneralRe: ID of the last record in the Database using ASP Pin
DFU234-Jun-03 7:01
DFU234-Jun-03 7:01 
GeneralProblem calling a COM method using get_External Pin
RAM_MR2-Jun-03 8:04
RAM_MR2-Jun-03 8:04 
GeneralDatabase Pin
Santiago Suárez2-Jun-03 7:22
Santiago Suárez2-Jun-03 7:22 
GeneralRe: Database Pin
christiantoivola2-Jun-03 21:55
christiantoivola2-Jun-03 21:55 
GeneralLOGIN PAGE IN JSP: URGENTLY Pin
bsanoop171-Jun-03 19:45
bsanoop171-Jun-03 19:45 
GeneralRe: LOGIN PAGE IN JSP: URGENTLY Pin
Megan Forbes1-Jun-03 23:12
Megan Forbes1-Jun-03 23:12 
GeneralRe: LOGIN PAGE IN JSP: URGENTLY Pin
Roger Wright2-Jun-03 6:42
professionalRoger Wright2-Jun-03 6:42 
GeneralRe: LOGIN PAGE IN JSP: URGENTLY Pin
Jon Newman2-Jun-03 8:24
Jon Newman2-Jun-03 8:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.