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

Miss Islington (bot) webhook-mailer at python.org
Thu Mar 28 14:12:49 EDT 2019


https://github.com/python/cpython/commit/1d9f1a0c9690f4e53003dc5e625a2867715c828a
commit: 1d9f1a0c9690f4e53003dc5e625a2867715c828a
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-03-28T11:12:39-07:00
summary:

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

(cherry picked from commit 45a5fdb91cee665161a8b1980bb4e6ccb999f58f)

Co-authored-by: zhsj <zsj950618 at gmail.com>

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