Skip to content

Adding an external/other type value to <translation>? #753

Description

@C-512L

According to the docs, both <translation/> and <languages/> are optional tags, but storefronts like gnome-software try to use them together, as they are somewhat dependent. If a <languages/> tag is present but no <translation/> tag is found, its assumed to be English, ignores <languages> and gnome-software for example shows a banner with "This app will be shown in US English", which could be misleading if your app reports your own language with<lang> as supported:

Image

Right now, AppStream's <translation/> types are rather limited. Although gettext is largely used, there are a lot of other choises depending on which programming language or tooling you use. Altough Appstream could theorically integrate with the more popular formats, there will always be edge/niche cases. i.e: a small project using a self-developed/custom i18n library.

I think giving apps the ability to self-report its translation status on its metadata would be helpful for both apps and store frontends (like gnome-software). This could be implemented adding a new value to </translation>'s type attribute or could be clarified as part of the spec that both tags are not dependent on each other.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions