[CentOS] How can rpm "%{SUMMARY}" not be consistent?

Bart Schaefer barton.schaefer at gmail.com
Tue Nov 29 16:44:08 UTC 2011


On Tue, Nov 29, 2011 at 7:53 AM, Denniston, Todd A CIV
NAVSURFWARCENDIV Crane <todd.denniston at navy.mil> wrote:
>
> Why does a number in a text string change based on LANG?

There's a separate dictionary of translated text strings (called a
catalog) for each language.  Those translations are looked up and
substituted for the default text based on the locale or language
settings in the environment.  If the number is stored in the catalog
as part of the string, you could see this effect.

It appears that either the catalogs have not been updated along with
the packages that make reference to them (which would be a bug), or
the updated catalogs have not been installed because they are part of
a "language pack" that is not listed as a dependency of all the
packages that refer to it (which likely is a deliberate optimization).



More information about the CentOS mailing list