protontricks icon indicating copy to clipboard operation
protontricks copied to clipboard

Is there a way to change the user interface language (locale) manually?

Open dziadulewicz opened this issue 11 months ago • 2 comments

And also in the case if the operating system Protontricks is run on is on any language. For example if Ubuntu is on English and i'd like to have Protontricks on Polish, is this possible?

If not, could the feature be added at some point?

dziadulewicz avatar Jan 15 '25 09:01 dziadulewicz

Protontricks itself doesn't have any localization support besides the generic OK/Cancel/Exit strings that are provided by the operating system. Winetricks, and other applications it calls might have support for different languages. They can be configured by setting a different locale using the LANG environment variable, like so:

$ LANG=pl_PL protontricks --gui

You can read more about Linux locales on Arch Wiki; the information should hopefully be applicable to many Linux distros besides Arch.

Also, many strings in Winetricks are probably unlocalized, so you'll still see plenty of English text even in Winetricks.

Matoking avatar Jan 22 '25 17:01 Matoking

Protontricks itself doesn't have any localization support besides the generic OK/Cancel/Exit strings that are provided by the operating system. Winetricks, and other applications it calls might have support for different languages. They can be configured by setting a different locale using the LANG environment variable, like so:

$ LANG=pl_PL protontricks --gui

You can read more about Linux locales on Arch Wiki; the information should hopefully be applicable to many Linux distros besides Arch.

Also, many strings in Winetricks are probably unlocalized, so you'll still see plenty of English text even in Winetricks.

OK, bit confused though here. So if the system language is Polish (for example in Ubuntu) then the language will be Polish also in Protontricks? Then, if Winetricks is translated well to Polish, that effects positively for the language in Protontricks too at some point?

Still don't understand why a simple setting could not be added to Protontricks itself to just change language. Even if it required a new base to start translating. I'm sure people would help and fast too if there was a Protontricks Weblate or similar!

Thanks.

dziadulewicz avatar May 09 '25 15:05 dziadulewicz