Red Hat Bugzilla – Bug 28408
Not possible to translate headers of "rpm -qi"
Last modified: 2007-04-18 12:31:35 EDT
The output of "rpm -qi" on this system looks like this:
Name : rpm Relocations: (not relocateable)
Version : 4.0 Vendor: Red Hat, Inc.
Release : 4 Build Date: ons 30 aug 2000
Install date: svn 1 okt 2000 21.38.16 Build Host:
Group : System Environment/Base Source RPM: rpm-4.0-4.src.rpm
Size : 2853571 License: GPL
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Summary : The Red Hat package management system.
The RPM Package Manager (RPM) is a powerful command line driven
package management system capable of installing, uninstalling,
verifying, querying, and updating software packages. Each software
package consists of an archive of files along with information about
the package like its version, a description, etc.
The dates are translated. (and possibly mangled by bugzilla, it doesn't
seem to be 8-bit clean). The Summary and Description would be if I was
finished with my translation of specs.po. (I'm working on it!)
But what about the headers "Name", "Version", "Vendor" etc? Since these
are strings in the file /usr/lib/rpm/rpmpopt-4.0 rather than in the source
code, they are not translated. (Even though my translation of rpm is up to
I'm not quite sure exactly what I would like to be done. One could of
course create a locale-specific version of the rpmpopt file, but that would
mean repeating a lot of alias "code", and would be a nuisance to maintain.
Possibly the best solution would be to extend the --queryformat with some
syntax for "translated version of", similar to the $"..." syntax of bash.
Would that be feasible?
Changing component to popt
Component "popt"? I thought the SRPMs defined the components, and the popt
package comes from the rpm SRPM.
Yes, the traditional convention is to file bugs against the src.rpm package. I'm
my TODO tasks, popt is the place where the "fix" will be, so I've changed the
I believe that popt aliases can now be i18n'ified using magic tokens
and POPTargs=$"..." in an alias file like /etc/popt, just like the corresponding
fields in poptOptions, so I'm gonna close this RFE.