I'm no expert, but I'm making bank on the fact that you CANNOT
reliably "guess" a user's language from their
browser/settings/whatever, so you NEED to give the user control.

Example:
I was in Paris, and used computers at an Internet cafe, configured
with French keyboards and identifying themselves as French-speaking
browsers.
That does soooooo *NOT* mean that I can read French.
Not, not, not.

On Sat, September 30, 2006 11:45 am, Mário Gamito wrote:
> Hi,
>
> Yes, but what i was looking for is the best solution for the users to
> choose their language.
>
> Thanks for the useful link anyway.
>
> Best Regards,
> Mário Gamito
>
> Tony Marston wrote:
>> If you read
>> http://www.tonymarston.net/php-mysql/internationalisation.html#determine.use
>> r.language you will see that it determines the user's language from
>> $_SERVER["HTTP_ACCEPT_LANGUAGE"] which is taken from settings in the
>> client's browser. It is also possible for this to be overridden in
>> the
>> Control Record or the MNU_USER record.
>>
>> Tony Marston
>>
>> http://www.tonymarston.net
>> http://www.radicore.org
>>
>>
>>
>>> -----Original Message-----
>>> From: Mário Gamito [mailto:[EMAIL PROTECTED]
>>> Sent: 30 September 2006 16:11
>>> To: Tony Marston
>>> Subject: Re: [PHP] Re: How to effectuate translations
>>>
>>>
>>> Hi Tony,
>>>
>>> But this works automagiacaly from the browser language or the
>>> users can choose ?
>>>
>>> Regards,
>>> Mário Gamito
>>>
>>> Tony Marston wrote:
>>>> Take a look at
>>>>
>>> http://www.tonymarston.net/php-mysql/internationalisation.html
>>> which
>>>> documents the solution which I have adopted.
>>>>
>>>
>>
>>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to