Jump to content

Is it possible to detect windows "Regional and Language Settings" in a PHP app?


php_dev_101

Recommended Posts

Hi all,

 

In the .NET world a web application can be displayed in a users language by detecting their "Regional and Language Settings" on their Windows OS and then using this to localize the content. Is this possible in a PHP/Javascript application?

 

I couldn't find any way to do this online. Any thoughts?

 

PHP Dev

It's perfectly possible to read regional and language settings using javascript when the browser is running on a Windows client, and to pass that information to a PHP script. http://browserspy.dk/ shows just how much information can be retrieved using javascript

 

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.