Sergio,
I could reproduce this.  My guess is this is caused by use of the
default message 
bundle object that seems to have the application scope by default. I've
filed a bug report
http://issues.apache.org/jira/browse/NUTCH-164


-kuro 

> -----Original Message-----
> From: Sergio [mailto:[EMAIL PROTECTED] 
> Sent: 2006-1-02 21:31
> To: [email protected]
> Subject: Localization bug in web interface??
> 
> Hello.
> 
> I just installed nutch in a Fedora Core 3 server.
> 
> Once installed, I crawled a small site to test it. I opened 
> my navigator
> (mozilla 1.7 which reports by default ES-ES locales, and 
> everything was ok).
> 
> Then I asked a friend of mine  (the owner of the server) to 
> test it. He did
> a search with an EN-US locale navigator, and the search page 
> appeared in
> Spanish.
> 
> After a few hours, I did the following: I restarted tomcat, I 
> changed the
> locale of my mozilla to EN, and I opened the search page. Now 
> I always get
> English search page even if I open with a mozilla ES-ES locale.
> 
> I wrote a message to my friend:
> 
> "nutch keeps the locale of the first navigator that makes a 
> request for all
> other requests. By this reason, yesterday as the first 
> request was from my
> ES locale browser, you saw the page in Spanish with your browser that
> reports EN locale. There is a way to make this work:
> 
> * Making sure that, after the server is restarted, the first 
> request is done
> by a browser that reports EN locale."
> 
> 
> 
> Is this a bug of nutch or I'm doing something wrong??
> 
> 
> 
> I've tested this in:
> 
> 
> 
> FC3 + Sun jre1.5.0_06 + Tomcat 5.5.12
> 
> Debian Sarge 3.1r1 + Sun j2sdk1.5.0_06 + Tomcat 5.5.12
> 
> Debian Sarge 3.1r1 + Sun j2sdk1.5.0_06 + Tomcat 4.1.31
> 
> 
> 
> and with the following navigators:
> 
> 
> 
> - Mozilla 1.7.12
> 
> - Internet Explorer 6
> 
> - Konkeror (the version that comes with sarge)
> 
> 
> 
> And always get the same results.
> 
> 
> 
> Many tanks.
> 
> 
> 
> PD. Please excuse my poor English.
> 
> PD2. Please reply to the list, don't reply to my email address.
> 
> 
> 

Reply via email to