On Fri, May 4, 2012 at 6:36 AM, Oliver-Rainer Wittmann < orwittm...@googlemail.com> wrote:
> Hi > > > On 01.05.2012 00:27, Marcus (OOo) wrote: > >> Am 04/30/2012 11:21 PM, schrieb Kay Schenk: >> >>> >>> [snip] >>> >>> Good that you've asked. I remember that we have this webpage: >> >> http://www.openoffice.org/**download/test/analyze.html<http://www.openoffice.org/download/test/analyze.html> >> >> So, I've updated it a bit and nowI get the following browser data: >> >> >> >> window.location.href http://ooo-site.apache.org/** >> download/test/analyze.html<http://ooo-site.apache.org/download/test/analyze.html> >> navigator.platform Linux x86_64 >> navigator.platform.**toLowerCase() linux x86_64 >> navigator.userAgent Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) >> Gecko/20100101 >> Firefox/4.0.1 >> navigator.userAgent.**toLowerCase() mozilla/5.0 (x11; linux x86_64; >> rv:2.0.1) >> gecko/20100101 firefox/4.0.1 >> navigator.language de-DE >> navigator.userLanguage undefined >> navigator.systemLanguage undefined >> navigator.javaEnabled() Yes >> >> >> >> window.location.href http://www.openoffice.org/** >> download/test/analyze.html<http://www.openoffice.org/download/test/analyze.html> >> navigator.platform Win32 >> navigator.platform.**toLowerCase() win32 >> navigator.userAgent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; >> SV1) >> navigator.userAgent.**toLowerCase() mozilla/4.0 (compatible; msie 6.0; >> windows nt >> 5.1; sv1) >> navigator.language undefined >> navigator.userLanguage de >> navigator.systemLanguage de >> navigator.javaEnabled() Yes >> >> >> It seems that on Linux the "navigator.language" is set. On Windows this >> is not >> set but the "navigator.userLanguage" and "navigator.systemLanguage". All >> 3 are >> handled in "download.js" (or in your new "download_new_dl.js"). >> > yes... > >> Maybe it's helpful to output some debug messages around this area? >> > I had these initially -- a few days ago -- but pulled them out after some preliminary testing. I did not change at all how languages were found from the original script. > >> @All: >> Can others please test on Windows with MSIE and Firefox? I really hope >> it's just >> my Windows XP (in a Virtualbox VM). >> >> > Here are my results: > > Windows 7, en-US: > - Firefox 10.0.4, en-US > window.location.href > http://www.openoffice.org/**download/test/analyze<http://www.openoffice.org/download/test/analyze> > navigator.platform Win32 > navigator.platform.**toLowerCase() win32 > navigator.userAgent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.4) > Gecko/20100101 Firefox/10.0.4 > navigator.userAgent.**toLowerCase() mozilla/5.0 (windows nt 6.1; > wow64; rv:10.0.4) gecko/20100101 firefox/10.0.4 > navigator.language en-US > > navigator.userLanguage undefined > navigator.systemLanguage undefined > navigator.javaEnabled() Yes > ==> getting AOO 3.4 en-US download on .../test/index_new.dl > > - Windows Internet Explorer 9 > window.location.href > http://www.openoffice.org/**download/test/analyze<http://www.openoffice.org/download/test/analyze> > navigator.platform Win32 > navigator.platform.**toLowerCase() win32 > navigator.userAgent Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; > WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR > 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E) > navigator.userAgent.**toLowerCase() mozilla/5.0 (compatible; msie 9.0; > windows nt 6.1; wow64; trident/5.0; slcc2; .net clr 2.0.50727; .net clr > 3.5.30729; .net clr 3.0.30729; media center pc 6.0; .net4.0c; .net4.0e) > navigator.language undefined > navigator.userLanguage de > navigator.systemLanguage en-us > navigator.javaEnabled() Yes > ==> getting AOO 3.4 de download on .../test/index_new.dl > > ==============================**======== > Windows 7, de > - Firefox 10.0.4, en-US > window.location.href > http://www.openoffice.org/**download/test/analyze<http://www.openoffice.org/download/test/analyze> > navigator.platform Win32 > navigator.platform.**toLowerCase() win32 > navigator.userAgent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.4) > Gecko/20100101 Firefox/10.0.4 > navigator.userAgent.**toLowerCase() mozilla/5.0 (windows nt 6.1; > wow64; rv:10.0.4) gecko/20100101 firefox/10.0.4 > navigator.language en-US > > navigator.userLanguage undefined > navigator.systemLanguage undefined > navigator.javaEnabled() Yes > ==> getting AOO 3.4 en-US download on .../test/index_new.dl > > - Windows Internet Explorer 8 > window.location.href > http://www.openoffice.org/**download/test/analyze<http://www.openoffice.org/download/test/analyze> > navigator.platform Win32 > navigator.platform.**toLowerCase() win32 > navigator.userAgent Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; > WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR > 3.0.30729; Media Center PC 6.0; .NET4.0C; InfoPath.3) > navigator.userAgent.**toLowerCase() mozilla/4.0 (compatible; msie 8.0; > windows nt6.1; wow64; trident/4.0; slcc2; .net clr 2.0.50727; .net clr > 3.5.30729; .net clr 3.0.30729; media center pc 6.0; .net4.0c; infopath.3) > > navigator.language undefined > navigator.userLanguage de > navigator.systemLanguage de > navigator.javaEnabled() Yes > ==> getting AOO 3.4 de download on .../test/index_new.dl > > > Best regards, Oliver. > OK, bottom line -- all OK, right? -- ---------------------------------------------------------------------------------------- MzK "Well, life has a funny way of sneaking up on you And life has a funny way of helping you out Helping you out." -- "Ironic", Alanis Morissette