Home > Development Tools > sublime > How to install sublime in Chinese

How to install sublime in Chinese

下次还敢
Release: 2024-04-03 13:21:17
Original
777 people have browsed it

How to install the Chinese language package of Sublime Text

Step 1: Install Package Control

Package Control is a plug-in for Sublime Text Manager, you can easily install various plug-ins. The installation steps are as follows:

  1. Open Sublime Text.
  2. Press Ctrl ~ (Windows/Linux) or Cmd ~ (macOS) to open the console.
  3. Enter the following command and press Enter:
<code>import urllib.request,os,hashlib; h = 'https://packagecontrol.io/Package%20Control.sublime-package'; urllib.request.install_opener(urllib.request.build_opener(urllib.request.ProxyHandler())); open(os.path.join(sublime.installed_packages_path(), 'Package Control.sublime-package'), 'wb').write(urllib.request.urlopen(h).read());</code>
Copy after login

Step 2: Install the Chinese language pack

Steps to install the Chinese language pack As follows:

  1. Open Package Control.
  2. Enter Chinese and press Enter.
  3. Select the Chinese Language Pack plug-in and click Install Package.

Step 3: Enable the Chinese language pack

After the installation is complete, you need to enable the Chinese language pack. The steps are as follows:

  1. Open Sublime Text’s preferences.
  2. Select Preferences -> Settings.
  3. Add the following content in the user settings file:
<code>"ignored_packages": [
    "User"
],
"color_scheme": "Packages/Chinese Language Pack/Chinese.tmTheme",
"font_face": "Microsoft YaHei",</code>
Copy after login
  1. Save the settings file.

The above is the detailed content of How to install sublime in Chinese. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template