i have an app that needs a specific LANG option
i can run it with this code:
LANG=ar_DZ.utf8 wine DIC32.exe
but i don't want to use this code every time i open the file
so is there a way to set the LANG for default in the wine prefix?
how to change LANG option for default
-
- Level 5
- Posts: 368
- Joined: Tue Dec 24, 2019 3:23 pm
Re: how to change LANG option for default
I don't know if wine has any mechanism for this, but the regular unix/linux way you could deal with this is to put "export LANG=ar_DZ.utf8" into your .bashrc or equivalent. But then it would be the default language for every app that uses that variable. You could issue a command to launch an xterm with that variable set, and then it would only apply to programs launched from that xterm, but that seems a bit cumbersome. To be honest, the way you currently launch is the most elegant that I know of. That way the variable is only in effect for this single command.
Another way is use aliases. You could do something like "alias winedz='LANG=ar_DZ.utf8 wine", then you could just type "winedz DIC32.exe". There are many different ways to accomplish similar things, hopefully you can find something that works for you.
Another way is use aliases. You could do something like "alias winedz='LANG=ar_DZ.utf8 wine", then you could just type "winedz DIC32.exe". There are many different ways to accomplish similar things, hopefully you can find something that works for you.