Add selectable interface language support - #100
Conversation
|
Hello, Just as app is translated on continuous translation system (https://hosted.weblate.org/projects/budslink/), hardcoded list of languages could (hopefully) get outdated quickly (and repeatedly). If (one of?) use case(s) for this is to avoid insufficient translations, maybe more direct solution for users could be to fix it on Weblate (it's really easy!) by their-selves perhaps? But once again, no opposition to this - just aim to get know motivation and support it :-) |
|
P.S.: self-service |
Done, bro, https://hosted.weblate.org/projects/budslink/budslink/ru/
|
|
Thanks @asychin This is a great feature. I do not think we need those. I also tried implementing runtime language switching using this patch. git am Also I think it will be better to use an Adw alert dialog confirming if user want to change If you have the time to improve on it let me know. Or else I can merge your pull request as it is good enough for upcoming release. Thanks |
Add a language selector with English, Russian, and non-empty translation catalogs, including partially translated locales. Persist the selection before gettext initialization, add a complete Russian translation credited to Andrey Sychin, ensure GSettings schema compilation, preserve icon loading in development builds, and confirm language changes with an Adw.AlertDialog using existing translatable strings.
17ab009 to
078ca69
Compare
|
replaced the restart toast with an Adw.AlertDialog as you suggested. the dialog uses the existing translatable strings (Language, Restart required to apply language change, Cancel, OK), so it doesnt add any new translation work for other locales. |
|
Thank @asychin |

Add a language selector with English, Russian, and non-empty translation catalogs, including partially translated locales. Persist the selection before gettext initialization, add a complete Russian translation credited to Andrey Sychin, ensure GSettings schema compilation, and preserve icon loading in development builds.