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

Translation for locale with country code (pt_BR) is from the language without country code (pt) #680

Open
velsinki opened this issue Nov 9, 2024 · 0 comments

Comments

@velsinki
Copy link

velsinki commented Nov 9, 2024

Over at GNOME Settings, someone reported https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/3252. I traced this back to what is most likely an AppStream issue.

Basically, we have an appdata.xml file (org.gnome.Settings.appdata.xml.zip) that has

  <name xml:lang="pt_BR">Configurações</name>
  <name xml:lang="pt">Definições</name>

But if I

LANG=pt_BR.UTF-8 appstreamcli dump org.gnome.Settings.desktop

I get

  <name>Definições</name>

instead. The description and developer name are also from pt instead of pt_BR. That doesn't seem correct to me.

Is there anything we are doing wrong, or is this an issue from here?

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

1 participant