ximion / appstream

Tools and libraries to work with AppStream metadata
http://www.freedesktop.org/wiki/Distributions/AppStream/
GNU Lesser General Public License v2.1
210 stars 115 forks source link

Language attribute in <p> not working #589

Closed buhtz closed 7 months ago

buhtz commented 7 months ago

The doc tells me to put a language attribute in the p tag. image

But appstreamcli validate gives me about it an error:

app-description-required

It also do not work with <p lang="en">. Only when doing <p> it works.

ximion commented 7 months ago

You do not need to put lang="en" in there, that is implied for the untranslated tag. And an untranslated tag must be present.

Usually you do not want to translate this manually anyway, but use e.g. itstool or xgettext instead.