Skip to content

Add localization support via fyne.io/fyne/v2/lang - #13

Closed
olegmlsn wants to merge 2 commits into
fynelabs:mainfrom
olegmlsn:main
Closed

olegmlsn wants to merge 2 commits into
fynelabs:mainfrom
olegmlsn:main

Conversation

@olegmlsn

Copy link
Copy Markdown

Adds support for Fyne's standard localization package (lang) to fyneselfupdate. All strings shown in the update/restart confirmation dialogs and the download progress dialog are now passed through lang.L(...), so they will be translated if the consuming application provides a matching translation bundle and simply fall back to English otherwise.

No breaking changes to the public API. Behavior is unchanged for applications that don't call lang.AddTranslations* dialogs still show the same English text as before (used as the fallback).

@olegmlsn olegmlsn closed this Sep 10, 2026
@olegmlsn

Copy link
Copy Markdown
Author

Closing this PR because I accidentally added an extra commit. I've opened a new clean PR here: #14

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

Successfully merging this pull request may close these issues.

1 participant