[cups.bugs] [HIGH] STR #1447: "lpstat" has nearly no output when user has french locale

Till Kamppeter till.kamppeter at gmx.net
Mon Feb 27 11:56:30 PST 2006


[STR New]

See

http://qa.mandriva.com/show_bug.cgi?id=21280

The user has a french locale set as default locale. So all programs which
have french translations should display their messages in french. But here
it seems that no messages are displayed at all. When the user switches
temporarily to C or any english locale the messages are correctly shown in
english.

There is one strange thing in CUPS compared to the other programs on the
system:

CUPS has the files cups_fr.po and cups_ja.po installed in
/usr/share/locale/<language code>/ all other programs have files  <program
name>.mo in /usr/share/locale/<language code>/LC_MESSAGES/. The <program
name>.mo files are binary files generated from the .po files with the
"msgfmt" utility. I have tried at first to simply move the .po file to
/usr/share/locale/<language code>/LC_MESSAGES/ and then I got output from
"lpstat", but only in english. Then I tried to convert the .po to the
<program name>.mo file with "msgfmt" and moved the .po file out of the
/usr/share/locales tree and the output of "lpstat" were still english
messages.

It seems that something is broken with the internationalization of CUPS.

Link: http://www.cups.org/str.php?L1447
Version: 1.2-current





More information about the cups mailing list