Bug 146429

Summary: two-part locale name not support
Product: [Fedora] Fedora Reporter: Wei-Lun Chao <bluebat>
Component: manAssignee: Ivana Varekova <varekova>
Status: CLOSED UPSTREAM QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 3CC: eng-i18n-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-05-19 06:31:45 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:
Attachments:
Description Flags
messages file of MAN
none
source patch files for locale zh none

Description Wei-Lun Chao 2005-01-28 02:42:11 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; zh-TW; rv:1.7.5)
Gecko/20041119 Firefox/1.0

Description of problem:
when searching for it's own messages or
manpages, MAN does not look into
directories with two-part locale name.


Version-Release number of selected component (if applicable):
man-1.5o1-7

How reproducible:
Always

Steps to Reproduce:
1.LANG=zh_TW.UTF-8
2.man --badargs
3.man mplayer
    

Actual Results:  MAN looks only into
zh/ and zh_TW.UTF-8/ directories
but not zh_TW/


Additional info:

Comment 1 Wei-Lun Chao 2005-01-28 02:46:34 UTC
Created attachment 110339 [details]
messages file of MAN

Comment 2 Ivana Varekova 2005-03-16 09:41:30 UTC
Thank you for your notice.
It was fixed (in man-1.5p-2).
Ivana Varekova 

Comment 3 Wei-Lun Chao 2005-03-17 08:03:15 UTC
for manpath, it does now search in
/usr/share/man/zh:/usr/share/man/zh_TW:/usr/share/man/zh_TW.UTF-8

for message file(Comment#1), it looks only for
/usr/share/locale/zh/man and /usr/share/locale/zh_TW.UTF-8/man
but not
/usr/share/locale/zh_TW/man


Comment 4 Ivana Varekova 2005-03-17 12:53:35 UTC
Thank you for your notice.
The last man package (1.5p) doesn't contain chinesse massage file. Message files
for all languages conteined in man package are stored in /usr/share/man/two_char
directories. These directories are strictly determinated. 
I think all man message files should be in two_char name directories. (In your
case/usr/share/locale/zh/).
Ivana Varekova

Comment 5 Wei-Lun Chao 2005-05-13 03:39:10 UTC
Created attachment 114322 [details]
source patch files for locale zh

add zh support into source tarball

Comment 6 Ivana Varekova 2005-05-19 06:31:45 UTC
Hello,
thaky you for your help.
I think the best solution is add translated man pages directly to the upstream
version so everyone could use this man pages (not just Fedora Core users).
Can you please send your work to Federico Lucifredi (federico) -
he is man maintainer and he can add your work directly to the upstream man. 
If there is any problem plese add a comment.
Ivana