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

Language "Use the system default" is no longer working, falls back to English (Fedora, KDE) #1570

Open
3 tasks done
magicgoose opened this issue Oct 1, 2024 · 8 comments
Open
3 tasks done

Comments

@magicgoose
Copy link

magicgoose commented Oct 1, 2024

  • I have checked the FAQ for answers.
  • I have checked the Changelog that the issue is not already fixed.
  • I believe this issue is a bug, and not a general technical issue, question or feature requests that can be discussed on the forum.

Describe the bug
Language "Use the system default" is no longer working as expected - instead, Strawberry uses English ignoring the system-wide language.

To Reproduce
Use Fedora KDE Spin.
Set language to non-English, for example Dutch (= Nederlands).
Install Strawberry Fedora package.
Make sure Strawberry Language = "Use the system default", restart if needed.

Expected behavior
Strawberry to use system language. (this worked before the latest few weeks)

Screenshots:
afbeelding

System Information:

  • Operating system: Fedora Linux 40
  • Strawberry Version: 1.1.3

Additional context

  • Graphics Platform: Wayland
  • Qt Version: 6.7.2
  • KDE Plasma Version: 6.1.5
  • KDE Frameworks Version: 6.6.0
  • Kernel Version: 6.10.11-200.fc40.x86_64 (64-bit)

Most other applications (which are translated to begin with) are still translated on this system, everything indicates that something specific to Strawberry has recently happened.

@magicgoose
Copy link
Author

I have checked the Changelog that the issue is not already fixed

from ChangeLog/Unreleased:

  • Require Qt 6.4 or higher and drop support for Qt 5.
  • Use Qt stringliterals.

could any of this possibly constitute a fix? I'm not sure

@jonaski
Copy link
Member

jonaski commented Oct 1, 2024

I renamed all the .po files when I merged translations to Crowdin, that probably has something to do with it.

@jonaski
Copy link
Member

jonaski commented Oct 5, 2024

What is LC_MESSAGES set to?
Check with locale | grep LC_MESSAGES

@jonaski
Copy link
Member

jonaski commented Oct 5, 2024

Is suspect this is a Qt bug (https://bugreports.qt.io/browse/QTBUG-129434), I see on Windows that it returns "en_US" before the language set as the display language, I think the order of the languages are wrong, since strawberry only uses the first.
I don't know if it's a good idea parse and try all.

@magicgoose
Copy link
Author

What is LC_MESSAGES set to? Check with locale | grep LC_MESSAGES

~> locale | grep LC_MESSAGES
LC_MESSAGES="nl_NL.UTF-8"

@fvalenduc
Copy link

I have gentoo and I have the same problem since strawberry-1.1.2. LC_MESSAGES is set to fr_BE.utf8

@jonaski
Copy link
Member

jonaski commented Oct 22, 2024

Please test with Qt 6.8.0 and check if the issue is gone.

@fvalenduc
Copy link

I have tested strawberry 1.2.0 and qt 6.8.0 in Archlinux and the problem still occurs.

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

No branches or pull requests

3 participants