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

[Windows] Fyne chooses app language based on system *region* and not language setting #5319

Open
2 tasks done
dweymouth opened this issue Dec 16, 2024 · 1 comment
Open
2 tasks done
Labels
unverified A bug that has been reported but not verified

Comments

@dweymouth
Copy link
Contributor

Checklist

  • I have searched the issue tracker for open issues that relate to the same problem, before opening a new one.
  • This issue only relates to a single bug. I will open new issues for any other problems.

Describe the bug

On Windows, Fyne apps choose the language that corresponds to the region configured in the Windows i18n settings instead of the language. See dweymouth/supersonic#509 for details.

How to reproduce

Run a fyne app with translations with the Windows region set to one language and the system language set to another

Screenshots

No response

Example code

n/a

Fyne version

develop

Go compiler version

n/a

Operating system and version

Windows

Additional Information

No response

@dweymouth dweymouth added the unverified A bug that has been reported but not verified label Dec 16, 2024
@sdassow
Copy link
Contributor

sdassow commented Dec 17, 2024

This reminds me of jeandeaual/go-locale#27, and it seems Windows has a similar API call: GetUserPreferredUILanguages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
unverified A bug that has been reported but not verified
Projects
None yet
Development

No branches or pull requests

2 participants