openstreetmap-website/app
Tom Hughes 685a35524a Try and patch up poor browser language selections
The HTTP RFC says that a language range specified by a browser only
matches a resource whose language tag is the same, or longer. This
means that a browser language range of de-DE will not match a resource
with a language tag of de.

Because of this browsers should always send the generic range, such
as de, as a secondary choice after a more specific range like de-DE.

Some browers don't this however, so if we don't get a language match
we try and patch up the list of language ranges by inserting the
more generic ranges.
2011-04-04 22:44:43 +01:00
..
controllers Try and patch up poor browser language selections 2011-04-04 22:44:43 +01:00
helpers Show a popup listing available editors when hovering over the edit tab 2010-11-29 12:20:22 +00:00
models Show the latest changeset for each of the contacts on the user page 2010-12-17 13:36:53 +00:00
views Trigger mobile mode at 640px instead of 480px for iPhone 4 support 2011-04-03 18:02:27 +01:00