-
Notifications
You must be signed in to change notification settings - Fork 129
Open
Description
Some apps such as GIMP may override the locale on a per-application basic using the LANGUAGE env. However, for generic language-only locales such as "pt" or "de", appstream falls back to using LANG.
e.g.
$ echo $LANG
en_GB.utf8
$ LANGUAGE=pt_BR appstreamcli dump test
Não foi possível encontrar um componente com ID “test”!
WHAT IS THE APPSTREAM LOCALE pt_BR
$ LANGUAGE=pt_PT appstreamcli dump test
Não foi possível encontrar o componente com o identificador (ID) "test"!
WHAT IS THE APPSTREAM LOCALE pt_PT
$ LANGUAGE=pt appstreamcli dump test
Não foi possível encontrar o componente com o identificador (ID) "test"!
WHAT IS THE APPSTREAM LOCALE en_GB.utf8
$ LANGUAGE=de appstreamcli dump test
Komponente mit Kennung »test« wurde nicht gefunden!
WHAT IS THE APPSTREAM LOCALE en_GB.utf8
$ LANGUAGE=de_DE appstreamcli dump test
Komponente mit Kennung »test« wurde nicht gefunden!
WHAT IS THE APPSTREAM LOCALE de_DE
When setting LANGUAGE to "de" or "pt" appstream falls back using LANG. Is this expected behaviour?
Downstream issue: https://gitlab.gnome.org/GNOME/gimp/-/merge_requests/2326#note_2471512
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels