Comments (4)
It's not the website, it's a libappstream bug I guess. The description in http://hub.flathub.org/repo/appstream/x86_64/appstream.xml.gz has no language tags anymore on the ul
.
Can you raise an issue over at https://github.com/ximion/appstream/issues ?
from flathub.
The xml:lang
is supppsed to be inside li
not ul
, probably that's the reason See https://docs.flathub.org/docs/for-app-authors/metainfo-guidelines/#metainfo-translations
from flathub.
flathub-infra/website#2647 should take care of that
Edit: nevermind, that's not working correctly
from flathub.
Indeed, this is not a Flathub issue but an AppStream spec issue.
The core issue here is that the AppStream spec on this matter is incomplete or inconclusive at best, and breaking the XML spec at worst. Imho the latter is the case here because the XML spec says:
A special attribute named
xml:lang
may be inserted in documents to specify the language used in the contents and attribute values of any element in an XML document.
[…]
The language specified byxml:lang
applies to the element where it is specified (including the values of its attributes), and to all elements in its content unless overridden with another instance ofxml:lang
.
This means that XML parsing apps have to a) implement xml:lang
attribute inheritance on nested elements and b) give XML document authors freedom to choose the structure in which xml:lang
attributes are inherited in the document. In other words, XML document authors are free to choose and may create completely different content structures for different languages. Please, note also that specs building on top of the XML spec must not preclude using the xml:lang
attribute on any element because the xml
namespace is always implicitly imported in all valid XML documents and the xml:lang
attribute may be literally used on “any element in an XML document” (including a root element!). Hence, this issue affects all AppStream elements, and not just those colloquially called translatable, like name
, summary
, p
, ul
, ol
, li
, or keyword
.
from flathub.
Related Issues (20)
- Extra spacing in description of app in GNOME Software HOT 1
- Volunteer to maintain com.google.Chrome HOT 2
- Archive org.gajim.Gajim.Plugin.omemo HOT 1
- Add maintainer to com.gopeed.Gopeed HOT 1
- Builder bot does not tell github that the build succeded for my app HOT 2
- Cannot install `org.gnome.Calculator` from Flathub repo configured with `--subset=floss` HOT 4
- Flatpak is failing to update HOT 13
- EOL Archive: io.github.vinegarhq.Vinegar HOT 1
- Add Maintainer to Flare, Railway, Pipeline HOT 1
- Add me as a maintainer of im.bernard.Nostalgia HOT 2
- com.github.tmewett.BrogueCE workflows failing HOT 5
- EOL com.fyralabs.SkiffDesktop HOT 1
- Request for Branch Auto-Deletion after Merge HOT 1
- EOL io.github.dhadder3.SkiffDesktopAdw HOT 2
- Yuzu should be taken off of Flathub ASAP. HOT 4
- FlatHub does not respect language when viewing apps HOT 1
- Inactive maintainer: `com.visualstudio.code.tool.fish` HOT 4
- Access request to org.freedesktop.Platform.VulkanLayer.MangoHud HOT 1
- Transfer of org.ryujinx.Ryujinx to TSRBerry HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flathub.