Visual Studio Code Server 设置登录界面为中文

最后编辑:8月

© Sunplace,2023
1. 修改<vscode-server-dir>/out/node/i18n/index.js

(0, i18next_1.init)({
    lng: "zh-cn",
    fallbackLng: "zh-cn",

2. 修改<vscode-server-dir>/out/node/routes/login.js

const locale = req.args["locale"] || "zh-cn";

3. 重启vscode(需事先安装配置supervisor

supervisorctl restart vscode