[dev] Auto Detect Language (with patch)
Jan Schneider
jan at horde.org
Thu Oct 2 03:29:33 PDT 2003
Zitat von Mike Pelley <mike at pelley.com>:
> The attached patch strips the quality values and tries for an exact match
> against all entries before falling back to a prefix match. I've also
> removed a superfluous check against the gettext list in _map, since the
> Accept-Language header (which requires a dash) cannot match a gettext
> entry
> (which requires an underscore), unless there are some non-standard
> browsers
> out there.
Committed, thanks.
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft
More information about the dev
mailing list