Open app links in user's current language
Nautilus metainfo file has the following contribute link.
<url type="contribute">https://welcome.gnome.org/en/app/Nautilus/</url>
This opens the help page in en
. The website allows manually switching to a different language, but this assume that the user knows English
.
Can we fix this by opening the link in user's language automatically in GS ?
E.g.
fallback = "https://welcome.gnome.org/en/app/Nautilus/"
# Example, lang = 'de'
link = "https://welcome.gnome.org/%s/app/Nautilus/" % lang
if link_does_not_exist (link):
link = fallback
open (link)
launches https://welcome.gnome.org/de/app/Nautilus/ if the user has Deutsch language and the link exists.
Maybe, appstream can define some standards for this.
Edited by Sid