Skip to content

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
@dweymouth

Description

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

Activity

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

Metadata

Assignees

No one assigned

    Labels

    InternationalisationI18n and support for non-bundled fonts and languagesbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions