[jira] Commented: (NUTCH-358) Language Switching PROBLEM FIXED

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] Commented: (NUTCH-358) Language Switching PROBLEM FIXED

Parth (Jira)
    [ http://issues.apache.org/jira/browse/NUTCH-358?page=comments#action_12444470 ]
KuroSaka TeruHiko commented on NUTCH-358:

I am afraid:
+ java.util.Locale selectedLocale = new java.util.Locale(queryLang, queryLang.toUpperCase());
only makes sense to the language whose language code happens to be the same as
the country code of the country where the language is spken, such as French (fr_FR) and German (de_DE).
This does not work for English because EN is not a country code and most other languages.

> Language Switching PROBLEM FIXED
> --------------------------------
>                 Key: NUTCH-358
>                 URL: http://issues.apache.org/jira/browse/NUTCH-358
>             Project: Nutch
>          Issue Type: Bug
>          Components: web gui
>    Affects Versions: 0.8
>         Environment: Linx ubuntu 6.0.6
> jakarta-tomcat-5.0.28
> nutch-0.8
>            Reporter: David Podunavac
>            Priority: Trivial
> Language selection on bottom of page does not affect the result page.
> So if browser language config is set to e.g. "en" result page(search.jsp) will be displayed in EN
> browsers language. NO matter what language has been selected (the locale links of the bottom of page).
> request.getParameter="lang" is useless as far as i can see
> So the links on bottom of the page does not translate the reslutpages keywords.
> This must be a BUG
> and shall be reported what i did now for that reason.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira