Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Still ignoring localized strings that are the same as original #388

Open
rffontenelle opened this issue Jan 6, 2021 · 3 comments
Open

Comments

@rffontenelle
Copy link
Contributor

As it was very well explained in 2b4f436, localization strings with same content as original are being ignored and not added to the cache, which results in country-specific locales falling back to its main locale (e.g. 'pt_BR' falling back to 'pt').

appstream-glib 0.7.18 was released after the above commit being merged, but the issue persists: in my Brazilian Portuguese environment, I still see GNOME Boxes as "Caixas do GNOME", which is the European Portuguese localization. Already tried updating appstream cache, without success.

@rffontenelle rffontenelle changed the title Still not ignoring localized strings that are the same as original Still ignoring localized strings that are the same as original Jan 6, 2021
@rffontenelle
Copy link
Contributor Author

@igaldino

@igaldino
Copy link
Contributor

igaldino commented Jan 6, 2021

Interesting, I don't see that in Fedora 33:

$ sudo dnf list --installed libappstream-glib
Pacotes instalados
libappstream-glib.x86_64                           0.7.17-2.fc33                           @anaconda

$ sudo dnf list --installed gnome-boxes
Pacotes instalados
gnome-boxes.x86_64                              3.38.2-1.fc33                               @updates

image

@rffontenelle
Copy link
Contributor Author

rffontenelle commented Jan 6, 2021

@igaldino First, your PR #374 was merged between 0.7.17 and 0.7.18, so I don't think the fix would be available in the version you have in F33. Second, I'll referring to the appstream.xml file, which is used by GNOME Software and Flatpak.

See how flatpak shows it:

$ flatpak search org.gnome.Boxes
Nome             Descrição                            ID de aplicativo               Versão Ramo   Remotos
Caixas do GNOME  Máquinas virtuais e remotas simples  org.gnome.Boxes                3.38.1 stable flathub
GNOME Boxes Osi… Operating system database used by G… …nome.Boxes.Extension.OsinfoDb        stable flathub

See how GNOME Software shows it:
Captura de tela de 2021-01-06 13-22-47

Versions installed in my Arch box:

$ pacman -Q appstream-glib flatpak gnome-software 
appstream-glib 0.7.18-1
flatpak 1.9.2-1
gnome-software 3.38.0-3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants