You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 5, 2020. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 5, 2020. It is now read-only.
Same here, installed gradio via flatpak, but it isn't localized, even though German translation should be available. Works for me with other Flatpak apps, including my own.
I have experience with app localization and also did some Flatpak packaging, so I try to debug this a bit.
de.haeckerfelix.gradio.Locale is installed, it got installed alongside de.haeckerfelix.gradio as it should. When I launch the gradio flatpak the console reports
Activity
phw commentedon Sep 24, 2017
Same here, installed gradio via flatpak, but it isn't localized, even though German translation should be available. Works for me with other Flatpak apps, including my own.
julianrichen commentedon Sep 24, 2017
Doesn't the Locale extension provide translations?
haecker-felix commentedon Sep 24, 2017
I can confirm that the translation is not working. I don't know what's the problem. If you know it, feel free to open a pull request :-)
This is my first project to be translated, so I don't have much experience.
phw commentedon Sep 25, 2017
I have experience with app localization and also did some Flatpak packaging, so I try to debug this a bit.
de.haeckerfelix.gradio.Localeis installed, it got installed alongsidede.haeckerfelix.gradioas it should. When I launch the gradio flatpak the console reportsThis looks right. Also when I open a shell into the app with
I can clearly see the localization files in
/app/share/locale, this looks Ok:Also the initialization of the locales in https://github.com/haecker-felix/gradio/blob/master/src/gradio-app.vala#L156 . I compared everything above to my own https://github.com/phw/peek/blob/master/src/main.vala but don't see a difference. But in my app it works with Flatpak, gradio simple shows default locale texts. Will try to debug further.
Just to make sure I also installed gradio locally and there everything shows up localized.
phw commentedon Sep 25, 2017
Wrong, current 6.0.1 release has this issue, I tested with 6.0. Pull request incoming...
Fixed wrong gettext domain