redromnon/HeroicBashLauncher

Change default launch language

MrArdillo opened this issue · 15 comments

I want to play all my games on Spanish but i don't want to change it for every script so if i can put the language the first time the program launches

I know there's a new feature in Heroic Beta that let's you specify the language for the game. I can use that for the scripts.

Are you changing this line for Spanish?
export LC_ALL=en_US.UTF-8

Yes, but with that changed all come as en_US anyway and I need to change the line game per game

Yeah, that's because HBL updates the script everytime you launch the game to check for any change in Heroic's settings. I'll work on this one.

Can you try this build - https://github.com/redromnon/HeroicBashLauncher/actions/runs/2616490175 - and let me know if it works?
You will need Heroic 2.4.0 Beta for this and enter the two-letter language code in the game's Other settings under Preferred Language like es in your case.

Do note that only some Epic games support this. I think "Maneater" does.

It seems to work but the problem is the same if i need to add the parameter for all the games one by one

Yes. I don't see any global setting for that in Heroic. But it's a one-time step though.

So after doing that all my scripts will execute the games in that language?

I don't know, I haven't tested it thoroughly since I use English as my system local language.

I'll try later batman arkham asylum and we'll see if it works

Did you get it to work?

Ok, so you don't need to specify the language setting for each game. HBL will now use the default language you've set for Heroic.

Cool, sorry for the late answer but i can't tried it before

Feature implemented in v2.8.0