Bug 23602 - The locale command line utility is not internationalized correctly
Summary: The locale command line utility is not internationalized correctly
Status: RESOLVED WORKSFORME
Alias: None
Product: glibc
Classification: Unclassified
Component: locale (show other bugs)
Version: 2.29
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-31 21:57 UTC by Rafal Luzynski
Modified: 2018-09-06 08:25 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rafal Luzynski 2018-08-31 21:57:35 UTC
When you type:

    locale --help

on the command line and your default locale is English then you get the description in English.  That's correct.  But you can switch the locale easily:

    LC_ALL=de_DE.utf8 locale --help
    LC_ALL=es_ES.utf8 locale --help
    LC_ALL=pl_PL.utf8 locale --help

and you still get English despite the translation is correctly provided.

It's really ironic that the locale command line utility which is meant to provide the locale information does not handle its own internationalization correctly. :-)
Comment 1 Rafal Luzynski 2018-08-31 23:57:42 UTC
Sorry for the noise.  This is not an upstream glibc bug, only Fedora packaging bug: it does not provide the libc.mo file unless the proper langpack file is installed.  Filed downstream: https://bugzilla.redhat.com/show_bug.cgi?id=1624528