Re: Proof-of-concept intl portal language sniffing
Arwel Parry <arwel-wfA80NnNzEcG2Il/[email protected]> Sun, 7 Dec 2003 15:37:39 +0000
| Newsgroups | gmane.science.linguistics.wikipedia.international |
|---|---|
| Message-ID | <[email protected]> |
In message <F6B719C9-28C3-11D8-B317-000A95DAA284-e+AXbWqSrlAAvxtiuMwx3w@public.gmane.org>, Brion Vibber <brion-e+AXbWqSrlAAvxtiuMwx3w-XMD5yJDbdMReXY1tMh2IBg@public.gmane.org> writes >Rough proof-of-concept page: http://www.wikipedia.org/portal > >This demo script tries to figure out what languages you're likely to be >looking for, based on the Accept-Language header your browser sends out >and/or the top-level country domain you're visiting from. It highlights >these languages in the complete list, and adds an extra welcome message >and link at the top. It's just a demo, and is neither complete nor >attractive. :) > >If results seem unusual to you, display the page source HTML, down at >the bottom is some debug output in a comment. Neat. In my case the main welcome is in English with an additional "Continue in Cymraeg" (though if you proceed with this you'll need to localise the greeting -- this one should be "Parhau yn Gymraeg" !). -- Arwel Parry http://www.cartref.demon.co.uk/