Bottles
Bottles copied to clipboard
[Bug]: game doesn't recognize locale from "language" setting, when running within gamescope
Describe the bug
Okay so I have this super old game Alicia Online. I've installed it on my steam deck via bottles. The game want's locale to be Korean. And I've changed the language in settings of this bottle - everything works. But when I've added a steam shortcut and launched the game from gaming mode, it asks my to change locale to Korean again. It seems that it grabs English by default. I've tried adding additional locales to flatpak and setting lang variables, nothing helped. I've tried steam compatibility layer, also didn't help.
To Reproduce
- Install game
- Add to steam
- Run from steam deck game mode
Package
Flatpak from Flathub
Distribution
SteamOs
Debugging Information
Hard to achieve in this case
Troubleshooting Logs
No response
Additional context
No response
I can confirm that running games through command line doesn't work, only when launching directly from bottles UI (I have a bunch of Japanese games that break this way)
Just to add a workaround specific to Steam, you can change program arguments from
run --command=bottles-cli com.usebottles.bottles run -b BOTTLE_NAME -p PROGRAM_NAME
to
LC_ALL=ja_JP %command% run --command=bottles-cli com.usebottles.bottles run -b BOTTLE_NAME -p PROGRAM_NAME
(or the language you need) to force it