You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "KuroSaka TeruHiko (JIRA)" <ji...@apache.org> on 2006/01/03 23:42:00 UTC

[jira] Commented: (NUTCH-162) country code "jp" is used instead of language code "ja" for Japanese

    [ http://issues.apache.org/jira/browse/NUTCH-162?page=comments#action_12361683 ] 

KuroSaka TeruHiko commented on NUTCH-162:
-----------------------------------------

This is causing an undesired behavior for Japanese users.  If the Nutch main index.jsp is visited from the browser of which the preferred language is configured to be Japanese, the app server's main page is displayed instead (Tomcat's Welcome page, for example).  This is because the Nutch index.jsp tries to redirect to the non-exisiting "ja/".


> country code "jp" is used instead of language code "ja" for Japanese
> --------------------------------------------------------------------
>
>          Key: NUTCH-162
>          URL: http://issues.apache.org/jira/browse/NUTCH-162
>      Project: Nutch
>         Type: Bug
>   Components: web gui
>     Versions: 0.7.1
>  Environment: n/a
>     Reporter: KuroSaka TeruHiko
>     Priority: Trivial

>
> In locale switching link for Japanese, "jp" is used as language code but it is an ISO country code.  The language code "ja" should be used.
> By the way, I don't think many users are familiar with the ISO language codes.  A Canadian user may click on "ca" uknowoing that ca stands for Catalan, not Canadian English or French. Rather than listing the language code, listing the language names in the prospective languages may be better. (I say "may be" because the browser could show some language names in corrupted text if the current font does not support that language --- this is a difficult problem.)

-- 
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