Skip to content

How to change display language? #215

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ProblemFactory opened this issue Mar 12, 2019 · 15 comments · Fixed by #857
Closed

How to change display language? #215

ProblemFactory opened this issue Mar 12, 2019 · 15 comments · Fixed by #857
Assignees

Comments

@ProblemFactory
Copy link

Description

How do I suppose to change the display language? I installed a new language pack, changed config, and reloaded, but nothing changed.

@imhori
Copy link

imhori commented Mar 13, 2019

Enter Help=>Restart Container in menu bar that's also nothing changed after installing new language pack and change the corresponded locale.json file.

@charlesmu2014
Copy link

same question

@undefined-moe
Copy link

The same.
image
VSCode Language packs requires RESTART,not RELOAD.
I'm using docker and container recreating removes all the extensions&global config file.

@foresthoffman foresthoffman self-assigned this Apr 11, 2019
@LemonHX
Copy link

LemonHX commented Apr 29, 2019

the same nothing changed

@nol166
Copy link
Contributor

nol166 commented Apr 30, 2019

Changing display language doesn't work yet but it is currently high on the priority list for us

@johnny12150
Copy link

@masnn May I ask what's the path of locale.json?

@undefined-moe
Copy link

The Configure Display Language command creates a locale.json file in your user VS Code folder. Depending on your platform, the locale.json file is located here:

Windows %APPDATA%\Code\User\locale.json
macOS $HOME/Library/Application Support/Code/User/locale.json
Linux $HOME/.config/Code/User/locale.json
The locale can also be changed by editing this file and restarting VS Code.

@yw662
Copy link

yw662 commented Jun 26, 2019

when trying to config display language and restart, ERR not implemented occured.

ERR not implemented: Error: not implemented ide.main.5b173b.js?__WB_REVISION__=36aa017b6acac125d50a:23   
    at e.relaunch (ide.main.5b173b.js?__WB_REVISION__=36aa017b6acac125d50a:60:1806644)
    at ide.main.5b173b.js?__WB_REVISION__=36aa017b6acac125d50a:67:1116236

This might be related to the issue.

Also, code-server does not seem to use ~/.config/Code. Maybe it has its own configuration storage ?

@deansheather
Copy link
Member

code-server (on Linux) uses ~/.local/share/code-server.

@jeasonstudio
Copy link
Contributor

#620 is working on this.

@gsnable
Copy link

gsnable commented Feb 15, 2020

The Configure Display Language command creates a locale.json file in your user VS Code folder. Depending on your platform, the locale.json file is located here:

Windows %APPDATA%\Code\User\locale.json
macOS $HOME/Library/Application Support/Code/User/locale.json
Linux $HOME/.config/Code/User/locale.json
The locale can also be changed by editing this file and restarting VS Code.

it works ,3x.

@gsnable
Copy link

gsnable commented Feb 15, 2020

The Configure Display Language command creates a locale.json file in your user VS Code folder. Depending on your platform, the locale.json file is located here:

Windows %APPDATA%\Code\User\locale.json
macOS $HOME/Library/Application Support/Code/User/locale.json
Linux $HOME/.config/Code/User/locale.json
The locale can also be changed by editing this file and restarting VS Code.

it works ,3x.

only working for root user.

@iBug
Copy link

iBug commented Nov 13, 2020

I actually had to put locale.json under ~/.local/share/code-server/User/ (Linux) for this to work. I'm using the latest code-server (3.6.2).

@code-asher
Copy link
Member

code-asher commented Nov 16, 2020 via email

@iBug
Copy link

iBug commented Nov 16, 2020

@code-asher Sadly the language selector didn't work. It did show all installed languages (language packs), but clicking one and refreshing or even restarting made no difference - it's still English. On the other hand, writing locale.json to the said location works immediately after refreshing browser page - no restart required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.