What happens if the user isn't using DNF? For the workstation we
have
to support users using just the graphical tools, and we can't rely on
command line tools for this kind of thing. I'm happy to add support
for installing lang packs into gnome-software but need to know how the
langpack plugin works so we can add proper support into the AppStream
metadata file. The idea being if the user changes the per-session
language we install the required langpacks automatically.
Can someone explain how the dnf langpack plugin gets the data on what
application subpackages to install? It would be easy if we could have
a virtual package that we could install for each locale as then we can
just put the metainfo file there for easy support in gnome-software.
My understanding this is implementing using the same langpack
functionality that has been there for ages even in yum for all sorts
of lang support, such as dictionaries, grammar etc, it's just been
that glibc has never been able to split out the language support in
the past.
Peter