Bottles icon indicating copy to clipboard operation
Bottles copied to clipboard

[Bug]: game doesn't recognize locale from "language" setting, when running within gamescope

Open unicornsandcandies opened this issue 1 year ago • 1 comments

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

  1. Install game
  2. Add to steam
  3. 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

unicornsandcandies avatar Jun 24 '23 17:06 unicornsandcandies

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

13xforever avatar Jan 28 '24 05:01 13xforever