1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
|
.. Copyright (c) Jupyter Development Team.
.. Distributed under the terms of the Modified BSD License.
.. _language:
Localization and language
=========================
Staring with version 3.0, JupyterLab provides the ability to set
the display language of the user interface.
Language packs
--------------
To be able to provide a new display language, you will need to
install a language pack.
Visit the `language packs repository <https://github.com/jupyterlab/language-packs/>`__
for a list of available packs.
Installing
""""""""""
Language packs are identified by the four letter code of the language and
variant they provide. For example, for Simplified Chinese the language
pack code is ``zh-CN`` and you can install it with ``conda`` or ``pip``.
If you use conda with conda-forge packages:
.. code:: bash
conda install -c conda-forge jupyterlab-language-pack-zh-CN
If you use Pip:
.. code:: bash
pip install jupyterlab-language-pack-zh-CN
Changing the display language
-----------------------------
To change the interface language, select the Settings menu and then
select the desired language in the Language submenu.
The Language submenu will only list any previously installed language
packs.
.. image:: ../images/language-settings.png
:align: center
:class: jp-screenshot
Selecting the new language will prompt for confirmation.
.. image:: ../images/language-change.png
:align: center
:class: jp-screenshot
Once you accept, the browser will refresh and the interface will
now be shown, for this example in Simplified Chinese.
.. image:: ../images/language-chinese.png
:align: center
:class: jp-screenshot
|