Tilted Forum Project Discussion Community

Tilted Forum Project Discussion Community (https://thetfp.com/tfp/)
-   Tilted Technology (https://thetfp.com/tfp/tilted-technology/)
-   -   [XHTML?] Automatically serving up documents with proper language (https://thetfp.com/tfp/tilted-technology/83159-xhtml-automatically-serving-up-documents-proper-language.html)

RelaX 02-10-2005 02:46 PM

[XHTML?] Automatically serving up documents with proper language
 
Okay, so how do you do this?
I mean, a few times I have browsed to a webpage and it somehow automatically detects that my environement is Dutch, so it hands me a Dutch page.
Is there some API for browsers that allow you to check the language setting of the browser or something? I've had it happen on IE and on FireFox.
I would love to read more about this stuff.

noodles 02-10-2005 03:38 PM

you can do it in pretty much any programming language, from javascript to php. its a browser information thing that can be accessed. whatever your browser is set for, the page can redirect you to the proper language.

RelaX 02-11-2005 02:34 AM

You mean via the Accept-language header (I just found that through google)?
Is that the only way?
Aren't there also some ip-to-country tools out there, anyone have any experience with them?


All times are GMT -8. The time now is 02:30 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47