Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Jupyter Notebook Chinese Language Settings

Jupyter Notebook Chinese Language Settings

By default the Jupyter Notebook interface is in English, and the settings menu shows that only English is supported.

We can install Jupyter's official Chinese language pack to switch only the Jupyter Notebook interface to Chinese without changing the browser language, as follows:

  1. Open Command Prompt (Windows) or Terminal (macOS/Linux) and run the following command to install the language pack:
pip install jupyterlab-language-pack-zh-CN

If you use a Python3 environment (common on macOS/Linux), run:

pip3 install jupyterlab-language-pack-zh-CN

  1. After installation, start Jupyter Notebook and open any Notebook editing interface.
jupyter notebook

The interface that starts up is now in Chinese:

  1. Click "Settings" in the menu bar, choose "Language", then click "Chinese (Simplified)" to switch to the Chinese interface in real time.