[Rpm-maint] [rpm-software-management/rpm] RPM Translation subpackage(s) (#1276)

Ludwig Nussel notifications at github.com
Mon Jun 22 13:16:00 UTC 2020


> How do you detect a binary that will want to load some specific translations? Is it just some guess or should be up to packager to fill in or?

FWIW in openSUSE many packages have a "-lang" subpackage to contain all translations. Those packages in turn have automated provides that translate into a locale namespace for libsolv, eg. `rpm -q --provides bash-lang`:
```[...]
locale(bash:es)
```

That basically instructs libsolv to install `bash-lang` if `bash` is installed and the system is in Spanish.
https://github.com/openSUSE/rpm-config-SUSE/blob/master/fileattrs/locale.attr
https://github.com/openSUSE/rpm-config-SUSE/blob/master/scripts/locale.prov

That mechanism would still work if splitting would be fine grained to the level of one locale per package.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1276#issuecomment-647512303
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200622/18aa3c22/attachment.html>


More information about the Rpm-maint mailing list