Bug 632104

Summary: install path of Japanese manpage is wrong
Product: [Fedora] Fedora Reporter: Akira TAGOH <tagoh>
Component: nmapAssignee: Michal Hlavinka <mhlavink>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: i18n-bugs, mhlavink
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: nmap-5.21-8.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-24 20:40:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Akira TAGOH 2010-09-09 07:44:31 UTC
Description of problem:
I see nmap installs Japanese man page under /usr/share/man/jp like:
/usr/share/man/jp/man1/nmap.1.gz

it should be
/usr/share/man/ja/man1/nmap.1.gz

Version-Release number of selected component (if applicable):
nmap-5.21-4.fc13.x86_64

How reproducible:
always

Steps to Reproduce:
1.LANG=ja_JP.UTF-8 man nmap
2.
3.
  
Actual results:
English man page are displayed

Expected results:
should be Japanese man page

Additional info:

Comment 1 Michal Hlavinka 2010-09-16 16:53:37 UTC
I can see I have only nmap.1.gz in /usr/share/man/jp/man1, but I've checked that with LANG=jp_JP.utf-8 I got correct man page, also there are 40 000 results when googling LANG=ja_JP.utf-8 compared with 134 000 results for LANG=jp_JP.utf-8, so I'm confused. Do you know about some documentation or something explaining ja_JP vs. jp_JP difference or what/when should be used? Thanks

Comment 2 Akira TAGOH 2010-09-17 01:18:33 UTC
From ISO 639, which is codes for the representation of names of languages:

http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes

or

/usr/share/xml/iso-codes/iso_639.xml if you have iso-codes installed.

Since the locale is represented as language_country, first one has to be ja but not jp for Japanese.

Comment 3 Fedora Update System 2010-09-17 08:31:50 UTC
nmap-5.21-8.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/nmap-5.21-8.fc14

Comment 4 Fedora Update System 2010-09-17 08:31:55 UTC
nmap-5.21-8.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/nmap-5.21-8.fc13

Comment 5 Fedora Update System 2010-09-17 18:24:05 UTC
nmap-5.21-8.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update nmap'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/nmap-5.21-8.fc13

Comment 6 Fedora Update System 2010-09-24 20:40:20 UTC
nmap-5.21-8.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2010-09-30 06:17:59 UTC
nmap-5.21-8.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.