Open GoogleCodeExporter opened 9 years ago
Original comment by stefano.mazzocchi@gmail.com
on 3 Apr 2009 at 9:22
I found a similar problem, which I think comes from the following section in:
http://api.simile-widgets.org/exhibit/2.2.0/exhibit-api.js
This appears to sniff the language from the browser (in my case Firefox) and
look for
the default language. In my case this is "en-GB" which does not exist in 2.2.0
where
the locale folder only has "en"
http://api.simile-widgets.org/exhibit/2.2.0/locales/
<...>
var defaultClientLocales = ("language" in navigator ? navigator.language :
navigator.browserLanguage).split(";");
for (var l = 0; l < defaultClientLocales.length; l++) {
var locale = defaultClientLocales[l];
if (locale != "en") {
var segments = locale.split("-");
if (segments.length > 1 && segments[0] != "en") {
Exhibit.locales.push(segments[0]);
}
Exhibit.locales.push(locale);
}
}
<...>
Original comment by jutu...@gmail.com
on 20 May 2009 at 12:05
Is this issue fixed?
Original comment by bhuv...@gmail.com
on 13 Feb 2012 at 5:11
Original issue reported on code.google.com by
GabrielR...@googlemail.com
on 3 Apr 2009 at 6:15