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

If there is not a good translation match for an app with the user's OS language settings, the first translation alphabetically is used #5040

Closed
2 tasks done
dweymouth opened this issue Jul 30, 2024 · 1 comment
Labels
bug Something isn't working Internationalisation I18n and support for non-bundled fonts and languages

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

For example, if the app supplies a German (de) translation, and a user's OS language is Chinese, and the app does not have a Chinese translation available, it will load German instead of English. English (if available) being hard-coded as the fallback in the case that there is no translation matching seems like a good default, other possibilities include providing an API to set the app's translation fallback language, or preferred language per-app (which could be exposed in the app's settings UI)

How to reproduce

load a Fyne app that has translations alphabetically before en, with the OS language set to a language for which the app has no translations.

Screenshots

No response

Example code

n/a

Fyne version

develop

Go compiler version

n/a

Operating system and version

n/a

Additional Information

No response

@dweymouth dweymouth added unverified A bug that has been reported but not verified bug Something isn't working Internationalisation I18n and support for non-bundled fonts and languages and removed unverified A bug that has been reported but not verified labels Jul 30, 2024
@dweymouth dweymouth added this to the E fixes (v2.5.x) milestone Jul 30, 2024
andydotxyz added a commit to andydotxyz/fyne that referenced this issue Jul 30, 2024
@dweymouth
Copy link
Contributor Author

Fixed on release branch by #5043

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Internationalisation I18n and support for non-bundled fonts and languages
Projects
None yet
Development

No branches or pull requests

1 participant