Dvlv / BoxBuddyRS

A Graphical Interface for Distrobox
MIT License
229 stars 24 forks source link

Flatpak Translations Not Working #57

Closed albanobattistella closed 6 months ago

albanobattistella commented 6 months ago

HI,

Italian language is not available. Could you please check it? Thanks. A.

Dvlv commented 6 months ago

Indeed the flatpak from flathub has no translations, but if I build a flatpak locally they work fine. Confusing.

Attempting a hotfix through flathub, but if it doesn't work I really don't know.

Dvlv commented 6 months ago

Should be fixed now.

albanobattistella commented 6 months ago

Should be fixed now.

Hi, I tried just now, no italian language available.

Dvlv commented 6 months ago

image Works for me with the latest from Flathub

Dvlv commented 6 months ago

From playing around in some VMs, I'm even more confused. It seems that the translations don't work for me on a fresh install, but if I build the local flatpak, they suddenly start working. Even if I purge the local flatpak and uninstall flatpak itself, the flathub packages will then forever be translated.

I have absolutely no idea what's going on, so all I can do now is hope someone who knows what they're doing sees this and is able to help out.

VortexAcherontic commented 6 months ago

The German translation seems to work fine. Just tested it on a 2nd machine.

VortexAcherontic commented 6 months ago

I just setup a new Italian virtual machine and installed flatpak, boxbuddy, podman and distrobox into that VM and everything seems to be in the correct system language.

image

I think it is more likely there is something different with the locale on affected systems.

Edit: Here are the locale settings of that VM: image

@albanobattistella how does your locale settings look like?
You can run locale inside any terminal and it should print an output like in the 2nd screenshot above. Maybe we just need to supply an additional it_IT.po file with a different locale.

Like there are possibly multiple locales for German language as like de_DE, de_LU, de_AT, de_CH maybe there is something similar going on here.

Dvlv commented 6 months ago

I wonder if it's because I install my VMs in en_GB then switch the language in GNOME settings after-the-fact. :thinking:

Either way, still very unexpected behaviour.

Dvlv commented 6 months ago

No movement on this, so I'm gonna close it. If we get more reports of this issue, we can reopen this (not that I have any idea what to do about it).