Bug 439314
Summary: | man ignores LC_MESSAGES | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Lennart Poettering <lpoetter> |
Component: | man | Assignee: | Ivana Varekova <varekova> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 9 | Keywords: | Reopened |
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: | 2008-11-21 11:06:35 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
Lennart Poettering
2008-03-28 00:07:00 UTC
mn should show Germany version of man page because of the language which is chosen depends on LANG variable (LC_MESSAGES set the messages language) and the encoding of the output is defined in /etc/sysconfig/i18n so this is not a bug. Sorry, this is a bug. The encoding should be chosen depending on the locale settings of the session, not based on some global config option. All gettext() based applications handle this correctly. man doesn't. It's a bug in man. Yes, I did choose german language messages. That's why I expect german language man page texts too. It is wrong to depend on the setting of $LANG. man should check setlocale(LC_MESSAGES, NULL) for the locale to show man pages in. That's how the locale system works. BTW. man-db handles this correctly. Ouch i must have been drunk. Let's try this again: Yes, I did choose *english* language messages. That's why I expect *english* language man page texts too. It is wrong to depend on the setting of $LANG. man should check setlocale(LC_MESSAGES, NULL) for the locale to show man pages in. That's how the locale system works. Changing version to '9' as part of upcoming Fedora 9 GA. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Fixed in man-1.6f-6.fc10. This bug still exists in man-1.6f-8.fc10. My locale settings are unchanged, and I still get the german man pages. Thanks. Fixed in man-1.6f-14.fc11. |