[Python-checkins] bpo-36425: Add Simplified Chinese to the language switcher (GH-12537)

Julien Palard webhook-mailer at python.org
Thu Mar 28 11:32:41 EDT 2019


https://github.com/python/cpython/commit/45a5fdb91cee665161a8b1980bb4e6ccb999f58f
commit: 45a5fdb91cee665161a8b1980bb4e6ccb999f58f
branch: master
author: zhsj <zsj950618 at gmail.com>
committer: Julien Palard <julien at palard.fr>
date: 2019-03-28T16:32:25+01:00
summary:

bpo-36425: Add Simplified Chinese to the language switcher (GH-12537)

files:
A Misc/NEWS.d/next/Documentation/2019-03-27-22-46-00.bpo-36425.kG9gx1.rst
M Doc/tools/static/switchers.js

diff --git a/Doc/tools/static/switchers.js b/Doc/tools/static/switchers.js
index 20dad93d6a5e..346b31494e60 100644
--- a/Doc/tools/static/switchers.js
+++ b/Doc/tools/static/switchers.js
@@ -22,6 +22,7 @@
       'fr': 'French',
       'ja': 'Japanese',
       'ko': 'Korean',
+      'zh-cn': 'Simplified Chinese',
   };
 
   function build_version_select(current_version, current_release) {
diff --git a/Misc/NEWS.d/next/Documentation/2019-03-27-22-46-00.bpo-36425.kG9gx1.rst b/Misc/NEWS.d/next/Documentation/2019-03-27-22-46-00.bpo-36425.kG9gx1.rst
new file mode 100644
index 000000000000..12bd833a88b5
--- /dev/null
+++ b/Misc/NEWS.d/next/Documentation/2019-03-27-22-46-00.bpo-36425.kG9gx1.rst
@@ -0,0 +1,2 @@
+New documentation translation: `Simplified Chinese
+<https://docs.python.org/zh-cn/>`_.



More information about the Python-checkins mailing list