PDA

View Full Version : Need help with $HTTP_ACCEPT_LANGUGE


The_Sisko
Tue 14th Aug '01, 9:27am
Hi all,

I am working on a portal site which the user redirects a language specific page.
I would like to use the variable:
$HTTP_ACCEPT_LANGUAGE
My prob is, the site will be a world wide site and I need to know what the variable says in other countrys.
For me it says: de
and I'm located in germany.

Here is the code:
<?php
print $HTTP_ACCEPT_LANGUAGE;
?>

So what I ask for is, please visit the following link and post what it says to you.
And please don't every UK member tell me it's saying en_uk. One UK member should be enough.

Visit this link! (http://www.gamesinfo.de/http_accep_language.php3)

But I am looking forward to see any other country in the world...

Please help me!
THX

Here what I already know:
UK = en_uk
Autralia = en_au
Germany = de

fatal
Tue 14th Aug '01, 10:17am
:)

for the uk it actually says en_gb.....


Ali

Mark Hensler
Tue 14th Aug '01, 2:27pm
USA: en-us

More than you'll need:
http://lcweb.loc.gov/standards/iso639-2/termcodes.html