[ http://issues.apache.org/jira/browse/NUTCH-162?page=all ]
KuroSaka TeruHiko updated NUTCH-162: ------------------------------------ It seems many .html files are actually generated by ant target "generate-docs" in build.xml, and only these four changes are needed to fix this bug: mv src/web/inclde/jp src/web/include/ja mv src/web/pages/jp src/web/pages/ja edited src/web/pages/ja/search.xml to replace one occurance of "jp" with "ja". edited src/web/include/footer.html to replace two occurances of "jp" with "ja" on a sngle line. These are diffs: $ diff src/web/pages/ja/search.xml src/web/pages/ja/search.xml~ 5c5 < <input type="hidden" name="lang" value="ja"/> --- > <input type="hidden" name="lang" value="jp"/> $ diff src/web/include/footer.html src/web/include/footer.html~ 16c16 < <a href="../ja/">ja</a> | --- > <a href="../jp/">jp</a> | > 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 > Issue Type: Bug > Components: web gui > Affects 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
