Offline Installation of Chinese Plugins for VSCode#
Recently, I needed to use a computer without internet access, but I still wanted to use the VSCode software. After installation, the interface was in English, so I wanted to install Chinese plugins. However, since there was no internet connection, I found a solution.
First, go to the Visual Studio Marketplace VScode Plugin Market and search for "Chinese" to find Simplified Chinese.
Click on it and select "Download Extension" in the bottom right corner.
Copy the downloaded offline installation package to the "bin" directory in the installation directory of VSCode. For example, if my VSCode is installed in C:\Users\IPC-510\AppData\Local\Programs\Microsoft VS Code
, I would copy it to C:\Users\IPC-510\AppData\Local\Programs\Microsoft VS Code\bin
.
In the "bin" directory, press Shift + right-click, and select "Open PowerShell window here".
Enter the command, noting that after code --install-extension
, you should include the name of the plugin.
code --install-extension .\MS-CEINTL.vscode-language-pack-zh-hans-1.79.2023061409.vsix
Open VSCode to view the installed plugin.
You can see that the Chinese language pack has been installed.
Press "Ctrl+Shift+P" to display the command palette, then type "display" to filter and display the "Configure Display Language" command. Press "Enter", and the installed language list will be displayed according to the regional settings, with the current language setting highlighted.
Select Chinese.
Restart VSCode.
You can see that the Chinese language pack has been installed.