I have noticed that several RPM packages happily ignore the language chosen at install time, and put on disk whatever locale their maintainers were able to collect. For example, the gkrellm RPM installs (on an English-only system):
/usr/share/locale/de/LC_MESSAGES/gkrellm.mo /usr/share/locale/es/LC_MESSAGES/gkrellm.mo /usr/share/locale/fr/LC_MESSAGES/gkrellm.mo /usr/share/locale/ja/LC_MESSAGES/gkrellm.mo /usr/share/locale/pl/LC_MESSAGES/gkrellm.mo /usr/share/locale/ru/LC_MESSAGES/gkrellm.mo /usr/share/locale/sv/LC_MESSAGES/gkrellm.mo
and CUPS (the UNIX print management system):
/usr/share/locale/be/cups_be /usr/share/locale/cs/cups_cs /usr/share/locale/de/cups_de /usr/share/locale/en/cups_en /usr/share/locale/es/cups_es /usr/share/locale/fr/cups_fr /usr/share/locale/he/cups_he /usr/share/locale/it/cups_it /usr/share/locale/ru_RU.cp1251/cups_ru_RU.cp1251 /usr/share/locale/ru_RU.koi8r/cups_ru_RU.koi8r /usr/share/locale/sv/cups_sv /usr/share/locale/uk/cups_uk /usr/share/locale/ru_RU.cp1251/cups_ru_RU.cp1251 /usr/share/locale/ru_RU.koi8r/cups_ru_RU.koi8r /usr/share/locale/sv/cups_sv /usr/share/locale/uk/cups_uk /usr/share/locale/uk_UA.cp1251/cups_uk_UA.cp1251 /usr/share/locale/zh_CN/cups_zh_CN
Even funnier is the fact that some files are not locales at all: look at /usr/share/locale/be/cups_be, for example: plain English.
Can you signal other RPMs that behave in the same way, i.e. that install *all* the locale files they contain regardless of the system default? Maybe we could put together a list, and then signal this issue to the respective maintainers.
In general, it would be great if all RPM included install instruction checking which language is used, and not installing files for other languages. Any suggestion about this?