[AppStream] Tagging applications as only useful in a certain locale
Philip Withnall
philip at tecnocode.co.uk
Mon Aug 19 10:38:05 UTC 2019
Hi,
(Please keep me CCed, as I am not subscribed to the list.)
At Endless, we’ve got various applications which are only useful in
certain locales. For example, an application which contains an es_GT
copy of Wikipedia. Currently, we use a special naming scheme and some
downstream patches to gnome-software to hide applications which aren’t
relevant to the user’s current locale. We’re looking for an upstream
solution to this though.
I was wondering about the <languages> element in AppStream, but it
seems to be intended to report translation stats for display in the UI,
rather than to encode which locales the application is useful in.
Is there another AppStream element which could be used for this, or
does a new one need to be standardised? Note that the solution needs to
operate in terms of locales (language + country/region) rather than
just in terms of languages, since content might be specific to a region
and not relevant to other regions which use the same language.
For those who follow gnome-software development, this is filed as a
gnome-software issue too:
https://gitlab.gnome.org/GNOME/gnome-software/issues/697
Thanks,
Philip
More information about the AppStream
mailing list