Jump to content

What controls the language of the VNC app itself when connecting to a VM?


Go to solution Solved by Chunks,

Recommended Posts

I am wondering why my VNC shows up in a language that I don't use, and don't have configured (as far as I can find) on my system.

 

My system has the country set to United Kingdom. The language is English. My browser and OS and everything are all english. I live in Sweden, I just don't know how VNC knows I live in Sweden :)

 

When I load VNC for a VM, the interface looks like this: 

image.png.b147eda621182034feaea28c55bb139b.png

 

I recently installed a docker image that also uses VNC, and that uses a different VNC app, but it's still showing in Swedish. 

 

Is this configurable?

 

Cheers.

Link to comment
5 hours ago, Chunks said:

I am wondering why my VNC shows up in a language that I don't use, and don't have configured (as far as I can find) on my system.

 

My system has the country set to United Kingdom. The language is English. My browser and OS and everything are all english. I live in Sweden, I just don't know how VNC knows I live in Sweden :)

 

When I load VNC for a VM, the interface looks like this: 

image.png.b147eda621182034feaea28c55bb139b.png

 

I recently installed a docker image that also uses VNC, and that uses a different VNC app, but it's still showing in Swedish. 

 

Is this configurable?

 

Cheers.

I am not able to check for options at the moment, but what is the keyboard set to in the vnc settings on the vm

Link to comment

I saw your reply and was very ready to feel stupid. It was set to Swedish. So I changed it to English (en-gb), started up the VM, and it was still a Swedish UI. So unfortunately, it wasn't so simple.

Also, and what actually caused me to finally post this thread after ignoring this for years, I have the same problem on a Docker app (Calibre) I just installed which uses a different VNC application ( KasmVNC ) vs the VM's which use NoVNC.

Link to comment
7 minutes ago, Chunks said:

I saw your reply and was very ready to feel stupid. It was set to Swedish. So I changed it to English (en-gb), started up the VM, and it was still a Swedish UI. So unfortunately, it wasn't so simple.

Also, and what actually caused me to finally post this thread after ignoring this for years, I have the same problem on a Docker app (Calibre) I just installed which uses a different VNC application ( KasmVNC ) vs the VM's which use NoVNC.

Will look over the week end to see if i can see how it knows locale. Is the machine you are running web from set to swedish?

Link to comment
  • Solution

I just found the problem. Chrome had bad data saved (and I guess has had it for years at this point.)

 

Just to share, in case it's helpful: After checking the system settings as you suggested and finding no Swedish, I decided to rule out the browser itself. I tried Firefox. It worked fine in English. Then to sanity check, I tried Chrome Incognito - also worked fine in English. I cleared cookies, but it didn't help.

 

Finally, I started digging into DevTools in Chrome. I found the place where VNC looks up the available languages. It's here: <server>/vnc/dist/main.bundle.js

image.png.f5df7575576981fe2b50c27a24da5840.png

 

So I stuck a "Watch" on that variable. Even tho my Chrome installation only showed 1 "Swedish" installed, and it was set to the Lowest Priority, the "Watch" showed a second one, near the top. I guess VNC doesn't have a distinct en-GB language, so it took "sv-SE"?

chrome_watch.PNG.109dd441365c5475f8a3bcf4e51cd389.PNG

Anyway, long story short, completely removing Swedish from Chrome settings got rid of it, and now adding it again correctly shows it at the bottom of the list. And VNC works properly now.

image.png.43cd490523595771fd72b2434460044e.png

 

Sorry for wasting your time, but thanks for the inspiration to track this down.

Edited by Chunks
wrong image
  • Like 2
Link to comment
  • 8 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...