1 From b26706080a45b5768112204ab160e7a547027a66 Mon Sep 17 00:00:00 2001
2 From: arno <arno@renevier.net>
3 Date: Mon, 21 Mar 2011 20:12:09 +0100
4 Subject: [PATCH 4/5] fixes #2687
7 openlayers/lib/OpenLayers/Lang.js | 3 +++
8 1 files changed, 3 insertions(+), 0 deletions(-)
10 diff --git a/openlayers/lib/OpenLayers/Lang.js b/openlayers/lib/OpenLayers/Lang.js
11 index 82230e0..1850705 100644
12 --- a/openlayers/lib/OpenLayers/Lang.js
13 +++ b/openlayers/lib/OpenLayers/Lang.js
14 @@ -59,6 +59,9 @@ OpenLayers.Lang = {
15 setCode: function(code) {
18 + code = document.documentElement.getAttribute("lang");
21 code = (OpenLayers.BROWSER_NAME == "msie") ?
22 navigator.userLanguage : navigator.language;