flathub / org.DolphinEmu.dolphin-emu

https://flathub.org/apps/details/org.DolphinEmu.dolphin-emu
17 stars 18 forks source link

Language issues #144

Closed Miepee closed 1 year ago

Miepee commented 1 year ago

There are currently two potentially related language issues, so I have grouped them together here:

cpba commented 1 year ago

It seems to work for some languages but not others.

Testing on my system:

Is this different from what you're getting? Might it have to do with installed locales?

Miepee commented 1 year ago

Might it have to do with installed locales?

Application installed or system installed? Because the locale on the system is there as other flatpak applications default to it.

Is this different from what you're getting?

Yes. I just tried to switch to every language from the top up until Italian. All of them (except english) failed and reverted back to English.

cpba commented 1 year ago

Application installed or system installed? Because the locale on the system is there as other flatpak applications default to it.

I mean the flatpak ones, for instance, if you run:

flatpak info runtime/org.kde.Platform.Locale/x86_64/5.15-22.08 flatpak info runtime/org.DolphinEmu.dolphin_emu.Locale/

Does the de subdirectory show up in both?

Miepee commented 1 year ago

Nope, both only show en.

cpba commented 1 year ago

That's very strange, the german locale should be automatically installed.

What does flatpak config output?

Miepee commented 1 year ago
languages:  *unset* (default: en)
extra-languages: *unset*

This seems like a steam deck specific thing. Installing dolphin flatpak on my desktop and executing the info commands from above does show me the "de" subdirectories.

cpba commented 1 year ago

So they hardcoded the locale to english?

Do they still allow you to change it with flatpak config --set languages ?

Miepee commented 1 year ago

So they hardcoded the locale to english?

Potentially for flatpaks, i checked LANG and that is set to de_de-utf8 or something.

Do they still allow you to change it with flatpak config --set languages

Kinda. If I set the language to german, then system language will default to german, and everything non-german will now error.

cpba commented 1 year ago

If I set the language to german, then system language will default to german, and everything non-german will now error.

Are you talking about dolphin-emu specifically or other flatpaks in general?

If you mean dolphin, that's an expected error, you can't switch to a language without its locally being installed.

Miepee commented 1 year ago

Sorry misphrased myself a little. What I meant is that apparently only one locale can be installed at one time there. So if I switch the flatpak language to german, english locale will stop ceasing for all flatpak applications. This is contrary to my desktop setup, where I german and english locale works.

cpba commented 1 year ago

What happens if you try to set both locales, as in doing 'en;de', does it error out?

Miepee commented 1 year ago

Then it works for english and german, but not for other langauges. I assume this is more a SteamOS bug then, than an issue with this flatpak?

cpba commented 1 year ago

I assume this is more a SteamOS bug then, than an issue with this flatpak?

Yeah, I would report it to valve and see what they say. Sometimes it takes a while but they do fix stuff.

Miepee commented 1 year ago

Closing as the specified behaviour is a SteamOS issue. The Deck devs/maintainers are aware of it, and a fix will land at some point.