No-Bling / DOTA

winter is coming..
MIT License
207 stars 28 forks source link

Choice of language #3

Closed aacprime closed 6 years ago

aacprime commented 6 years ago

I'm using Russian interface of Steam and English interface of Dota 2 via "-language english" launch option. Mod builder .bat file automatically installs everything in dota_russian folder, which is no use for me. Because of that I've been installing your builds manually. It's more of a request than an issue - I ask you to let us choose installation folder when installing mod using .bat file.

AveYo commented 6 years ago

It's already there in the script line 39: rem set "MOD_LANGUAGE=english" || rem = current Steam language is auto-detected, override here

Just uncomment it by removing preceding rem like this: set "MOD_LANGUAGE=english" || rem = current Steam language is auto-detected, override here

I guess I could add support for a NOBLING_LANGUAGE environment variable so that you don't need to modify the script manually after each update. Will do in the next update.

AveYo commented 6 years ago

v7.16 r1: Added support for persistent language override.
To define it, open a command prompt and enter:
setx NOBLING_LANGUAGE english
Adjust english to your preference

Can also define it via rundll32 sysdm.cpl,EditEnvironmentVariables