language.rst 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. .. _language:
  2. Localization and language
  3. =========================
  4. Staring with version 3.0, JupyterLab provides the ability to set
  5. the display language of the user interface.
  6. Language packs
  7. --------------
  8. To be able to provide a new display language, you will need to
  9. install a language pack.
  10. Visit the `language packs repository <https://github.com/jupyterlab/language-packs/>`__
  11. for a list of available packs.
  12. Installing
  13. """"""""""
  14. Language packs are identified by the four letter code of the language and
  15. variant they provide. For example, for Simplified Chinese the language
  16. pack code is ``zh-CN`` and you can install it with ``conda`` or ``pip``.
  17. If you use conda with conda-forge packages:
  18. .. code:: bash
  19. conda install -c conda-forge jupyterlab-language-pack-zh-CN
  20. If you use Pip:
  21. .. code:: bash
  22. pip install jupyterlab-language-pack-zh-CN
  23. Changing the display language
  24. -----------------------------
  25. To change the interface language, select the Settings menu and then
  26. select the desired language in the Language submenu.
  27. The Language submenu will only list any previously installed language
  28. packs.
  29. .. image:: images/language_settings.png
  30. :align: center
  31. :class: jp-screenshot
  32. Selecting the new language will prompt for confirmation.
  33. .. image:: images/language_change.png
  34. :align: center
  35. :class: jp-screenshot
  36. Once you accept, the browser will refresh and the interface will
  37. now be shown, for this example in Simplified Chinese.
  38. .. image:: images/language_chinese.png
  39. :align: center
  40. :class: jp-screenshot