Don’t show applications which are only useful in a certain locale
At Endless, we have various applications which are only useful in a certain locale (for example, an app which contains an es_GT
copy of Wikipedia). All those are applications are offered by the same flatpak repository, which means they are all shown in gnome-software, which is not helpful for anyone running their system in a different locale.
We currently have a downstream patch which matches the user’s current locale against a locale suffix on the app ID. It would be good to upstream something to the same end, but probably based on metadata in the app’s appdata, rather than a special naming scheme.
I’m not sure whether the existing languages
element in appstream would be a good fit for this — it seems to have been intended to report translation stats for display in the UI, rather than effect filtering of apps. What do you think?