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
>> cert
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 t
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 --
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?
Sessions are per-user and are not global (you'd need to use something
like memcache or si
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
ses
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
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 thi
Wow! I love this group, ask and you shall receive. Thanks everyone for the
comments and suggestions.
The following snippet from Andrés Robinet would actually suit my current
project..
define('DEFAULT_LANG_ID', 'en');
function getLanguageId() {
// Allow for language id override in $
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 thi
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
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 hea
tedd wrote:
> At 11:05 PM +0100 11/27/07, Jochem Maas wrote:
>> tedd wrote:
>>
>> > If it were me, I wouldn't use any problematic browser detects schemes
>>> (they don't work) or any of that high-thought stuff -- it's beyond me.
>>
>> whether it's beyond you or not only you can judge, but I disag
Jochem Maas wrote:
> tedd wrote:
>> At 9:37 AM -0400 11/27/07, Jeff Benetti wrote:
>>> Any any and all comments are welcome, it will be a learning curve no
>>> matter
>>> which route I take so a little advice on the best direction pros cons
>>> would
>>> be great.
>>>
>>>
>>> Thanks,
>>> Jeff
>> Je
templating the forms for each language. I would use
a folder for each language.
hth
bastien
> To: php-general@lists.php.net> From: [EMAIL PROTECTED]> Date: Tue, 27 Nov
> 2007 15:18:45 +> Subject: [PHP] Re: Newbie asks about multi-lingual
> website strategies> > Jeff
Jeff Benetti wrote:
> I'm a noob so keep the comments to a noob's level please.
>
> I am doing a website and my client wants the bulk of the text to be
> bilingual (French and English). The last site I did used php and mysql so I
> am getting comfortable with that technology. Typically I am usin
15 matches
Mail list logo