hmlendea / gfn-electron

Linux Desktop client for Nvidia's GeForce NOW game streaming service
GNU General Public License v3.0
500 stars 62 forks source link

Cannot change language #64

Closed lukepass closed 2 years ago

lukepass commented 3 years ago

Hello, in the main screen there is no way to change language (you can change it during login but it won't persist). How can I do?

Thanks.

hmlendea commented 3 years ago

Sorry for the late response.

What version are you on? By language do you mean the UI language, or the keyboard language?

lukepass commented 3 years ago

Hello, I mean the UI language. The keyboard language can be changed in the settings.

As you can see you can change the language for the other windows (e.g. login) but it doesn't persist in the main window.

image

Thanks!

xVANKO commented 3 years ago

For flatpak version, UI language can be changed using this command

sudo flatpak override --env=LANG=pl_PL io.github.hmlendea.geforcenow-electron

where "pl_PL" is an example for polish language (ICU format)

Tealk commented 2 years ago

Hi,

how can i change it with the AUR installation? Especially with the password input it is stupid if the english layout is used although I have set the german one system wide.

squalou commented 2 years ago

You have to tweak useragent, set ChromeOS, in order to have keyboard layout selection appear in "Settings" menu of geforceNow. Note that once it's set, it's remembered, you only need to set it once.

Hope it still works.

n00bieHome commented 2 years ago

I used a .deb file to install, can i also change language? Playing Ark in Dutch is sooo annoying... :)

n00bieHome commented 2 years ago

@squalou you said tweak useragent, can you tell me where to do that? i run kubuntu and used the latest .deb file.

xVANKO commented 2 years ago

For AUR / DEB you need to edit .desktop file and add environment variable defining your locale code.

I.e. copy your geforce now .desktop file from /usr/share/applications to ~/.local/share/applications and edit line starting with "Exec" like this: Exec=env LANG=en_US /path/to/geforce-now (add "env LANG=en_US" for English-US lang)

hmlendea commented 2 years ago

Tweaking the useragent can be done with the --spoof-chromeos and --spoof-windows CLI arguments

n00bieHome commented 2 years ago

Thank you gentlemen... :) i'll dive into it... :)

n00bieHome commented 2 years ago

@xVANKO Your solution totally worked, finally i got the interface in English... :)