Jump to content

Detect Browser Language


freephoneid

Recommended Posts

Hi,

    I want to detect the browser language. How can I do that in PHP?

 

Basically, if I change the brower setting to "Ja" (japanese), then the code should print Japanese as output. If I change browser setting to German, code should print German.

 

Can any one tell me how to do it?

 

Thanks in Advance!!

Link to comment
https://forums.phpfreaks.com/topic/136279-detect-browser-language/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.