linux-store-frontend icon indicating copy to clipboard operation
linux-store-frontend copied to clipboard

Show en_US versions of data if no untranslated version found

Open ovari opened this issue 7 years ago • 3 comments

https://github.com/flathub/org.mozilla.Thunderbird/pull/33#issuecomment-385273176

ovari avatar Apr 29 '18 21:04 ovari

For other fields like name, summary, description, ... the default value is in english and this is what's is currently used in the website.

<component type="desktop">
  <id>ca.desrt.dconf-editor.desktop</id>
  <name>Dconf Editor</name>
  <name xml:lang="ca">Editor del dconf</name>
    ...

I've looked at the appstream file and I can't find any tag screenshot with xml:lang, not even Thunderbird. When you have your change merged in Thunderbird and there is a new build published in flathub ping me here and I will check the how the webapp workds for this case.

jgarciao avatar May 03 '18 09:05 jgarciao

Maybe this is related, but for JDownloader, the website link points to the Spanish version: https://flathub.org/apps/details/org.jdownloader.JDownloader

https://github.com/flathub/org.jdownloader.JDownloader/blob/master/org.jdownloader.JDownloader.appdata.xml

eszlari avatar Aug 20 '18 18:08 eszlari

The website backend gets the information from the flathub appstream file located in /var/lib/flatpak/appstream/flathub/x86_64/active/appstream.xml.gz

If you extract that file and look for JDownloader you'll see that the declared homepage is the one in Spanish

 <url type="homepage">http://www.jdownloader.org/es/home/index?s=lng_es</url>

jgarciao avatar Aug 24 '18 07:08 jgarciao