Description of problem: $ dnf info glibc-langpack-sl ... Description: The glibc-langpack-sl package includes the basic information required to support the sl language in your applications. Is this 'slovak' or 'slovenian' or maybe something else? I'd need to use a web search to figure this out. The same for all other languages... Version-Release number of selected component (if applicable): 2.28-17.fc29
We could put langtable into the buildrequires of glibc.spec and then use langtable to generate that information: [mfabian@Fedora-Workstation-netinst-x86_6 ~]$ python3 Python 3.7.1 (default, Nov 5 2018, 14:07:04) [GCC 8.2.1 20181011 (Red Hat 8.2.1-4)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import langtable >>> langtable.language_name(languageId='sl') 'slovenščina' >>> langtable.language_name(languageId='sl', languageIdQuery='en') 'Slovenian' >>> Although I guess users of a certain language will know the iso code of "their" language.
langtable is only 124k, so I think it'd be worth it.
(In reply to Zbigniew Jędrzejewski-Szmek from comment #2) > langtable is only 124k, so I think it'd be worth it. I agree. An increase in the glibc.spec file is perfectly acceptable if it produces easier to understand binary rpm description information. It doesn't increase installed size (by any appreciable amount).
https://src.fedoraproject.org/rpms/glibc/pull-request/11