Re: [PHP] Re: Newbie asks about multi-lingual website strategies

2007-11-28 Thread tedd
At 12:56 AM +0100 11/28/07, Jochem Maas wrote: Colin Guthrie wrote: tedd wrote: ... Sorry Tedd, but I'm not sure where the browser sniffing stuff came in. IE and FF both offer a UI to input the user's preferred language, it's an HTTP standard thing and nothign to do with user agents

Re: [PHP] Re: Newbie asks about multi-lingual website strategies

2007-11-28 Thread Jochem Maas
tedd wrote: At 12:56 AM +0100 11/28/07, Jochem Maas wrote: Colin Guthrie wrote: tedd wrote: ... Sorry Tedd, but I'm not sure where the browser sniffing stuff came in. IE and FF both offer a UI to input the user's preferred language, it's an HTTP standard thing and nothign to do

Re: [PHP] Re: Newbie asks about multi-lingual website strategies

2007-11-28 Thread Jochem Maas
Jeff Benetti wrote: ... Am I correct that if two people are logged on using two different languages that the session var will keep track of the different users (by IP I assume) and the server won’t mess up? yes, the contents of $_SESSION are stored per user. this is tracked by way of a

Re: [PHP] Re: Newbie asks about multi-lingual website strategies

2007-11-28 Thread tedd
At 3:01 PM +0100 11/28/07, Jochem Maas wrote: tedd wrote: So, sniffing the browser to determine language isn't the same as browser sniffing -- OK. there is no sniffing of the browser - merely a case of parsing the contents of the Accept-Language header if the browser sent it along with the

Re: [PHP] Re: Newbie asks about multi-lingual website strategies

2007-11-28 Thread Jean-Michel Philippon-Nadeau
Dear Tedd, Dear List, tedd wrote: As for being hung-up -- again, I'm clueless. I mistakenly thought that anything obtained from the browser was subject to suspicion as is any outside data. But apparently you can trust (I realize within certain limits) some things provided by the browser --

Re: [PHP] Re: Newbie asks about multi-lingual website strategies

2007-11-28 Thread Jochem Maas
tedd wrote: At 3:01 PM +0100 11/28/07, Jochem Maas wrote: ... Jochem: This just hasn't been my week -- everyone (long story) thinks I'm being sarcastic when I'm not. ouch! The Sorry, my bad means I apologize, my mistake. How can that be taken as sarcasm? guess it's down to my input

Re: [PHP] Re: Newbie asks about multi-lingual website strategies

2007-11-28 Thread Jochem Maas
Jean-Michel Philippon-Nadeau wrote: Dear Tedd, Dear List, tedd wrote: As for being hung-up -- again, I'm clueless. I mistakenly thought that anything obtained from the browser was subject to suspicion as is any outside data. But apparently you can trust (I realize within certain limits)

RE: [PHP] Re: Newbie asks about multi-lingual website strategies

2007-11-27 Thread Bastien Koert
My approach to multi lang abilities uses the following db structure base_name is the input field name and the basic raw label for the field lang_1 lang_2 ... lang_12 prompt_1 prompt_2 ... prompt_12 since i currently need to support 12 languages in the initial concept when the user signs

Re: [PHP] Re: Newbie asks about multi-lingual website strategies

2007-11-27 Thread Jochem Maas
Colin Guthrie wrote: tedd wrote: ... Sorry Tedd, but I'm not sure where the browser sniffing stuff came in. IE and FF both offer a UI to input the user's preferred language, it's an HTTP standard thing and nothign to do with user agents string parsing. It uses the Accept-Language header