From 6d13dfd1ba8e0036eb16bbca85c92d7d73a28edd Mon Sep 17 00:00:00 2001
From: Dongsheng Song <dongsheng.song@gmail.com>
Date: Sat, 12 Feb 2011 17:38:22 +0800
Subject: [PATCH] Add Simplified Chinese translation.

---
 docs/manual/index.xml.zh-cn                 |   89 ++++++++++++++
 docs/manual/mod/directives.xml.zh-cn        |   35 ++++++
 docs/manual/mod/index.xml.zh-cn             |   35 ++++++
 docs/manual/mpm.xml.zh-cn                   |   92 +++++++++++++++
 docs/manual/sitemap.xml.zh-cn               |  169 +++++++++++++++++++++++++++
 docs/manual/style/lang-targets.xml          |   37 ++++++-
 docs/manual/style/lang/zh-cn.xml            |  141 ++++++++++++++++++++++
 docs/manual/style/manual.zh-cn.xsl          |   37 ++++++
 docs/manual/style/xsl/util/allmodules.xml   |    3 +-
 docs/manual/style/xsl/util/designations.xml |    1 +
 10 files changed, 635 insertions(+), 4 deletions(-)
 create mode 100644 docs/manual/index.xml.zh-cn
 create mode 100644 docs/manual/mod/directives.xml.zh-cn
 create mode 100644 docs/manual/mod/index.xml.zh-cn
 create mode 100644 docs/manual/mpm.xml.zh-cn
 create mode 100644 docs/manual/sitemap.xml.zh-cn
 create mode 100644 docs/manual/style/lang/zh-cn.xml
 create mode 100644 docs/manual/style/manual.zh-cn.xsl

diff --git a/docs/manual/index.xml.zh-cn b/docs/manual/index.xml.zh-cn
new file mode 100644
index 0000000..1d15e10
--- /dev/null
+++ b/docs/manual/index.xml.zh-cn
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE indexpage SYSTEM "./style/sitemap.dtd">
+<?xml-stylesheet type="text/xsl" href="./style/manual.zh-cn.xsl"?>
+<!-- English revision : 1044382 -->
+
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<indexpage metafile="index.xml.meta">
+<parentdocument href="http://httpd.apache.org/docs-project/" />
+
+<title>Apache HTTP 服务器 &httpd.major;.&httpd.minor; 文档</title>
+
+<category id="release"><title>发行说明</title>
+    <page href="new_features_2_2.html">Apache 2.1/2.2 的新特性</page>
+    <page href="new_features_2_0.html">Apache 2.0 的新特性</page>
+    <page href="upgrading.html">从 2.0 升级到 2.2</page>
+    <page href="license.html">Apache 许可证</page>
+</category>
+
+<category id="manual"><title>参考手册</title>
+    <page href="install.html">编译与安装</page>
+    <page href="invoking.html">启动</page>
+    <page href="stopping.html">停止与重启</page>
+    <page href="mod/directives.html">配置指令</page>
+    <page href="mod/quickreference.html">指令快速参考</page>
+    <page href="mod/">模块</page>
+    <page href="mpm.html">多处理模块(MPM)</page>
+    <page href="filter.html">过滤器</page>
+    <page href="handler.html">处理器</page>
+    <page href="programs/">服务器与支持程序</page>
+    <page href="glossary.html">术语</page>
+</category>
+
+<category id="usersguide"><title>用户指南</title>
+    <page href="bind.html">绑定指定地址与端口</page>
+    <page href="configuring.html">配置文件</page>
+    <page href="sections.html">配置片段</page>
+    <page href="caching.html">缓存指南</page>
+    <page href="content-negotiation.html">内容协商</page>
+    <page href="dso.html">动态共享对象(DSO)</page>
+    <page href="env.html">环境变量</page>
+    <page href="logs.html">日志文件</page>
+    <page href="urlmapping.html">从 URL 映射到文件系统</page>
+    <page href="misc/perf-tuning.html">性能调谐</page>
+    <page href="misc/security_tips.html">安全技巧</page>
+    <page href="server-wide.html">服务器全局配置</page>
+    <page href="ssl/">SSL/TLS 加密</page>
+    <page href="suexec.html">执行 CGI 前的用户切换(suEXEC)</page>
+    <page href="rewrite/">URL 改写指南</page>
+    <page href="vhosts/">虚拟主机</page>
+</category>
+
+<category id="howto"><title>指引/教程</title>
+    <page href="howto/auth.html">认证，授权与访问控制</page>
+    <page href="howto/cgi.html">CGI 与动态内容</page>
+    <page href="howto/htaccess.html">.htaccess 文件</page>
+    <page href="howto/ssi.html">服务器端插入(SSI)</page>
+    <page href="howto/public_html.html">用户私人网站目录(public_html)</page>
+</category>
+
+<category id="platform"><title>平台相关说明</title>
+    <page href="platform/windows.html">Microsoft Windows</page>
+    <page href="platform/netware.html">Novell NetWare</page>
+    <page href="platform/ebcdic.html">EBCDIC 系统</page>
+</category>
+
+<category id="other"><title>其它主题</title>
+    <page href="http://wiki.apache.org/httpd/FAQ">常见问题</page>
+    <page href="sitemap.html">网站导航</page>
+    <page href="developer/">开发文档</page>
+    <page href="misc/">其它说明</page>
+</category>
+
+</indexpage>
diff --git a/docs/manual/mod/directives.xml.zh-cn b/docs/manual/mod/directives.xml.zh-cn
new file mode 100644
index 0000000..92ccc91
--- /dev/null
+++ b/docs/manual/mod/directives.xml.zh-cn
@@ -0,0 +1,35 @@
+<?xml version="1.0"?>
+<!DOCTYPE directiveindex SYSTEM "../style/modulesynopsis.dtd">
+<?xml-stylesheet type="text/xsl" href="../style/manual.zh-cn.xsl"?>
+<!-- English revision : 421100 -->
+
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<directiveindex metafile="directives.xml.meta">
+  <title>指令索引</title>
+  <summary>
+    <p>
+      每个在 Apache 标准发行版中可用的指令都列在这里。它们使用一致的格式描述，而且有<a
+      href="directive-dict.html" rel="Glossary">术语字典</a>。
+    </p>
+
+    <p>
+      <a href="quickreference.html">指令快速参考</a>用来以摘要的形式提供有关每个指令的详细信息。
+    </p>
+  </summary>
+</directiveindex>
diff --git a/docs/manual/mod/index.xml.zh-cn b/docs/manual/mod/index.xml.zh-cn
new file mode 100644
index 0000000..a28ca33
--- /dev/null
+++ b/docs/manual/mod/index.xml.zh-cn
@@ -0,0 +1,35 @@
+<?xml version="1.0"?>
+<!DOCTYPE moduleindex SYSTEM "../style/modulesynopsis.dtd">
+<?xml-stylesheet type="text/xsl" href="../style/manual.zh-cn.xsl"?>
+<!-- English revision : 421100 -->
+
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<moduleindex metafile="index.xml.meta">
+  <title>模块索引</title>
+  <summary>
+    <p>
+      下面是 Apache 发行版中的所有模块列表。参见按照字母顺序罗列的<a
+      href="directives.html">所有 Apache 指令</a>。
+    </p>
+  </summary>
+  <seealso><a href="../mpm.html">多处理模块(MPM)</a>
+  </seealso>
+  <seealso><a href="quickreference.html">指令快速索引</a>
+  </seealso>
+</moduleindex>
diff --git a/docs/manual/mpm.xml.zh-cn b/docs/manual/mpm.xml.zh-cn
new file mode 100644
index 0000000..04dd880
--- /dev/null
+++ b/docs/manual/mpm.xml.zh-cn
@@ -0,0 +1,92 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+<!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
+<?xml-stylesheet type="text/xsl" href="./style/manual.zh-cn.xsl"?>
+<!-- English revision : 421100 -->
+
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<manualpage metafile="mpm.xml.meta">
+
+  <title>多处理模块(MPM)</title>
+
+<summary>
+<p>本文档介绍了什么是多处理模块，以及 Apache HTTP 服务器如何使用它们。</p>
+</summary>
+
+<section id="introduction"><title>介绍</title>
+
+    <p>Apache HTTP 服务器被设计为一个功能强大，并且灵活的 web 服务器，
+    可以在很多平台与环境中工作。不同平台和不同的环境往往需要不同
+    的特性，或可能以不同的方式实现相同的特性最有效率。Apache
+    通过模块化的设计来适应各种环境。这种设计允许网站管理员通过在
+    编译时或运行时，选择哪些模块将会加载在服务器中，来选择服务器特性。</p>
+
+    <p>Apache 2.0 扩展此模块化设计到最基本的 web 服务器功能。
+    它提供了可以选择的多处理模块(MPM)，用来绑定到网络端口上，接受请求，
+    以及调度子进程处理请求。</p>
+
+    <p>扩展到这一级别的服务器模块化设计，带来两个重要的好处:</p>
+
+    <ul>
+      <li>Apache 能更优雅，更高效率的支持不同的平台。尤其是
+      Apache 的 Windows 版本现在更有效率了，因为
+      <module>mpm_winnt</module> 能使用原生网络特性取代在
+      Apache 1.3 中使用的 POSIX 层。它也可以扩展到其它平台
+      来使用专用的 MPM。</li>
+
+      <li>Apache 能更好的为有特殊要求的站点定制。例如，要求
+      更高伸缩性的站点可以选择使用线程的 MPM，即
+      <module>worker</module> 或 <module>event</module>；
+      需要可靠性或者与旧软件兼容的站点可以使用
+      <module>prefork</module>。</li>
+    </ul>
+
+    <p>在用户看来，MPM 很像其它 Apache 模块。主要是区别是，在任何时间，
+    必须有一个，而且只有一个 MPM 加载到服务器中。可用的 MPM 列表位于
+    <a href="mod/">模块索引页面</a>。</p>
+
+</section>
+
+<section id="choosing"><title>选择 MPM</title>
+
+    <p>MPM 必须在编译前夕，配置时指定，然后编译到服务器程序中。
+    仅当编译器知道使用了线程时，它才有能力优化许多函数。</p>
+
+    <p>为了使用指定的 MPM，请在执行 <program>configure</program>
+      时，使用参数 <code>--with-mpm=<em>NAME</em></code>。<em>NAME</em>
+      是指定的 MPM 名称。</p>
+
+    <p>编译完成后，可以使用 <code>./httpd -l</code> 来确定选择的 MPM。
+    此命令会列出编译到服务器程序中的所有模块，包括 MPM。</p>
+</section>
+
+<section id="defaults"><title>默认 MPM</title>
+
+<p>下表列出了不同系统的默认 MPM。如果你不在编译时选择，那么它就是你将要使用的 MPM。</p>
+
+<table>
+<columnspec><column width=".2"/><column width=".2"/></columnspec>
+<tr><td>BeOS</td><td><module>beos</module></td></tr>
+<tr><td>Netware</td><td><module>mpm_netware</module></td></tr>
+<tr><td>OS/2</td><td><module>mpmt_os2</module></td></tr>
+<tr><td>Unix</td><td><module>prefork</module></td></tr>
+<tr><td>Windows</td><td><module>mpm_winnt</module></td></tr>
+</table>
+</section>
+
+</manualpage>
diff --git a/docs/manual/sitemap.xml.zh-cn b/docs/manual/sitemap.xml.zh-cn
new file mode 100644
index 0000000..0f4ccd4
--- /dev/null
+++ b/docs/manual/sitemap.xml.zh-cn
@@ -0,0 +1,169 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE sitemap SYSTEM "./style/sitemap.dtd">
+<?xml-stylesheet type="text/xsl" href="./style/manual.zh-cn.xsl"?>
+<!-- English revision : 1044382 -->
+
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<sitemap metafile="sitemap.xml.meta">
+
+  <title>站点导航</title>
+
+<summary>
+<p>本页列出了
+<a href="./">Apache HTTP 服务器 &httpd.major;.&httpd.minor;
+的全部文档</a>。</p>
+</summary>
+
+<category id="release">
+<title>发行说明</title>
+<page href="upgrading.html">从 2.0 升级到 2.2</page>
+<page href="new_features_2_2.html">Apache 2.1/2.2 的新特性</page>
+<page href="new_features_2_0.html">Apache 2.0 的新特性</page>
+<page href="license.html">Apache 许可证</page>
+</category>
+
+<category id="using">
+<title>使用 Apache HTTP 服务器</title>
+<page href="install.html">编译与安装 Apache</page>
+<page href="invoking.html">启动 Apache</page>
+<page href="stopping.html">停止与重启 Apache</page>
+<page href="configuring.html">配置文件</page>
+<page href="sections.html">配置片段</page>
+<page href="caching.html">缓存指南</page>
+<page href="server-wide.html">服务器全局配置</page>
+<page href="logs.html">日志文件</page>
+<page href="urlmapping.html">从 URL 映射到文件系统</page>
+<page href="misc/security_tips.html">安全技巧</page>
+<page href="dso.html">动态共享对象(DSO)</page>
+<page href="content-negotiation.html">内容协商</page>
+<page href="custom-error.html">定制错误响应</page>
+<page href="bind.html">绑定指定地址与端口</page>
+<page href="mpm.html">多处理模块(MPM)</page>
+<page href="env.html">环境变量</page>
+<page href="handler.html">Apache 的处理器</page>
+<page href="filter.html">过滤器</page>
+<page href="suexec.html">执行 CGI 前的用户切换(suEXEC)</page>
+<page href="misc/perf-tuning.html">性能调谐</page>
+<page href="http://wiki.apache.org/httpd/FAQ">常见问题</page>
+</category>
+
+<category id="vhosts">
+<title>Apache 虚拟主机文档</title>
+<page separate="yes" href="vhosts/">概述</page>
+<page href="vhosts/name-based.html">基于名称的虚拟主机</page>
+<page href="vhosts/ip-based.html">基于 IP 的虚拟主机</page>
+<page href="vhosts/mass.html">动态配置的大规模虚拟主机</page>
+<page href="vhosts/examples.html">虚拟主机样例</page>
+<page href="vhosts/details.html">虚拟主机匹配的深入讨论</page>
+<page href="vhosts/fd-limits.html">文件句柄限制</page>
+<page href="dns-caveats.html">Apache 的 DNS 相关问题</page>
+</category>
+
+<category id="rewrite">
+<title>URL 改写指南</title>
+<page separate="yes" href="rewrite/">概述</page>
+<page href="mod/mod_rewrite.html">mod_rewrite 参考文档</page>
+<page href="rewrite/rewrite_intro.html">简介</page>
+<page href="rewrite/rewrite_flags.html">Flags</page>
+<page href="rewrite/rewrite_tech.html">技术细节</page>
+<page href="rewrite/rewrite_guide.html">改写指南 - 有用的例子</page>
+<page href="rewrite/rewrite_guide_advanced.html">高级改写指南 - 更多有用的例子</page>
+</category>
+
+<category id="ssl">
+<title>Apache SSL/TLS 加密</title>
+<page separate="yes" href="ssl/">概述</page>
+<page href="ssl/ssl_intro.html">SSL/TLS 加密: 简介</page>
+<page href="ssl/ssl_compat.html">SSL/TLS 加密: 兼容性</page>
+<page href="ssl/ssl_howto.html">SSL/TLS 加密: 常见操作</page>
+<page href="ssl/ssl_faq.html">SSL/TLS 加密: 常见问题</page>
+</category>
+
+<category id="howto">
+<title>指南与教程</title>
+<page separate="yes" href="howto/">概述</page>
+<page href="howto/auth.html">认证，授权与访问控制</page>
+<page href="howto/cgi.html">CGI 与动态内容</page>
+<page href="howto/ssi.html">服务器端插入</page>
+<page href="howto/htaccess.html">.htaccess 文件</page>
+<page href="howto/public_html.html">用户私人网站目录(public_html)</page>
+</category>
+
+<category id="platform">
+<title>平台相关说明</title>
+<page separate="yes" href="platform/">概述</page>
+<page href="platform/windows.html">在 Microsoft Windows 中使用 Apache</page>
+<page href="platform/win_compiling.html">为 Microsoft Windows 编译 Apache</page>
+<page href="platform/netware.html">在 Novell NetWare 中使用 Apache</page>
+<page href="platform/perf-hp.html">在 HPUX 中运行高性能 web 服务器</page>
+<page href="platform/ebcdic.html">Apache 与 EBCDIC 系统</page>
+</category>
+
+<category id="programs">
+<title>Apache HTTP 服务器与支持程序</title>
+<page separate="yes" href="programs/">概述</page>
+<page href="programs/httpd.html">手册: httpd</page>
+<page href="programs/ab.html">手册: ab</page>
+<page href="programs/apachectl.html">手册: apachectl</page>
+<page href="programs/apxs.html">手册: apxs</page>
+<page href="programs/configure.html">手册: configure</page>
+<page href="programs/dbmmanage.html">手册: dbmmanage</page>
+<page href="programs/htcacheclean.html">手册: htcacheclean</page>
+<page href="programs/htdbm.html">手册: htdbm</page>
+<page href="programs/htdigest.html">手册: htdigest</page>
+<page href="programs/htpasswd.html">手册: htpasswd</page>
+<page href="programs/logresolve.html">手册: logresolve</page>
+<page href="programs/rotatelogs.html">手册: rotatelogs</page>
+<page href="programs/suexec.html">手册: suexec</page>
+<page href="programs/other.html">其它程序</page>
+</category>
+
+<category id="misc">
+<title>Apache 杂项文档</title>
+<page separate="yes" href="misc/">概述</page>
+<page href="misc/relevant_standards.html">相关标准</page>
+</category>
+
+<category id="modules">
+<title>Apache 模块</title>
+<page href="mod/module-dict.html">描述模块的术语</page>
+<page href="mod/directive-dict.html">描述指令的术语</page>
+</category>
+
+<category id="developer">
+<title>开发者文档</title>
+<page separate="yes" href="developer/">概述</page>
+<page href="developer/API.html">Apache API 说明</page>
+<page href="developer/debugging.html">在 APR 中调试内存分配</page>
+<page href="developer/documenting.html">Apache 2.0 文档</page>
+<page href="developer/hooks.html">Apache 2.0 钩子函数</page>
+<page href="developer/modules.html">将模块从 Apache 1.3 移植到 Apache 2.0</page>
+<page href="developer/request.html">Apache 2.0 中的请求处理</page>
+<page href="developer/filters.html">Apache 2.0 中的过滤器</page>
+</category>
+
+<category id="index">
+<title>术语与索引</title>
+<page href="glossary.html">术语</page>
+<page href="mod/">模块索引</page>
+<page href="mod/directives.html">指令索引</page>
+<page href="mod/quickreference.html">指令快速参考</page>
+</category>
+
+</sitemap>
diff --git a/docs/manual/style/lang-targets.xml b/docs/manual/style/lang-targets.xml
index 0588664..bd249df 100644
--- a/docs/manual/style/lang-targets.xml
+++ b/docs/manual/style/lang-targets.xml
@@ -22,9 +22,9 @@
 <!-- ==================================================================== -->
 <project name="lang-targets">
 
-<target description="- builds all HTML files and nroff man pages" name="all" depends="de, en, es, fr, ja, ko, pt-br, ru, tr"/>
-<target description="- builds all zip download packages" name="zip-all" depends="zip-de, zip-en, zip-es, zip-fr, zip-ja, zip-ko, zip-pt-br, zip-ru, zip-tr"/>
-<target description="- builds all war download packages" name="war-all" depends="war-de, war-en, war-es, war-fr, war-ja, war-ko, war-pt-br, war-ru, war-tr"/>
+<target description="- builds all HTML files and nroff man pages" name="all" depends="de, en, es, fr, ja, ko, pt-br, ru, tr, zh-cn"/>
+<target description="- builds all zip download packages" name="zip-all" depends="zip-de, zip-en, zip-es, zip-fr, zip-ja, zip-ko, zip-pt-br, zip-ru, zip-tr, zip-zh-cn"/>
+<target description="- builds all war download packages" name="war-all" depends="war-de, war-en, war-es, war-fr, war-ja, war-ko, war-pt-br, war-ru, war-tr, war-zh-cn"/>
 
 <!-- German                                                               -->
 <!-- ==================================================================== -->
@@ -234,6 +234,36 @@
     <nroff.generic lang="tr"/>
 </target>
 
+<!-- Simplified Chinese                                                   -->
+<!-- ==================================================================== -->
+<property value=".xml.zh-cn" name="inputext.zh-cn"/>
+<property value=".html.zh-cn" name="outputext.zh-cn"/>
+
+<target description="- builds Simplified Chinese HTML files" name="zh-cn">
+    <html.generic lang="zh-cn"/>
+    <runtarget target="man-zh-cn"/>
+</target>
+<target unless="-off.zh-cn.done" depends="metafiles" name="-off-zh-cn">
+    <dependencies.offline dir="_off" style="zip" lang="zh-cn"/>
+    <offline.generic dir="_off" style="zip" lang="zh-cn"/>
+    <property value="yes" name="-off.zh-cn.done"/>
+</target>
+<target description="- builds the Simplified Chinese zipped download package" depends="-off-zh-cn" name="zip-zh-cn">
+    <zip.generic lang="zh-cn"/>
+</target>
+<target description="- builds the Simplified Chinese Konqueror Web Archive" depends="-off-zh-cn" name="war-zh-cn">
+    <war.generic lang="zh-cn"/>
+</target>
+<target description="- builds the Simplified Chinese CHM file" name="chm-zh-cn">
+    <chm.generic lang="zh-cn"/>
+</target>
+<target description="- builds the Simplified Chinese nroff files" name="man-zh-cn">
+    <nroff.generic lang="zh-cn"/>
+</target>
+<target description="- builds the Simplified Chinese latex file" name="latex-zh-cn">
+    <latex.generic lang="zh-cn"/>
+</target>
+
 <!-- XML validation.                                                      -->
 <!-- If you get an error during transformation, this task may be useful   -->
 <!-- because it mostly gives you a hint, where you forgot the </p> ;-)    -->
@@ -251,6 +281,7 @@
             <include name="**/*.xml.pt-br"/>
             <include name="**/*.xml.ru"/>
             <include name="**/*.xml.tr"/>
+            <include name="**/*.xml.zh-cn"/>
 
             <patternset refid="excludes"/>
             <patternset refid="scratch"/>
diff --git a/docs/manual/style/lang/zh-cn.xml b/docs/manual/style/lang/zh-cn.xml
new file mode 100644
index 0000000..45e75e7
--- /dev/null
+++ b/docs/manual/style/lang/zh-cn.xml
@@ -0,0 +1,141 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE language SYSTEM "../lang.dtd">
+<!-- $LastChangedRevision: -1 $ -->
+
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<language id="zh-cn">
+    <name>Simplified Chinese</name>
+    <charset>UTF-8</charset>
+    <source-ext>.xml</source-ext>
+    <target-ext>.html.zh-cn</target-ext>
+
+    <chm>
+        <lang>936 Simplified Chinese</lang>
+        <toc-font>SimSun,12,0</toc-font>
+        <charset>GBK</charset>
+        <settings>Simplified Chinese</settings>
+    </chm>
+
+    <man>
+        <charset>UTF-8</charset>
+    </man>
+
+    <!-- Some strings might be used in other contexts, than stated in the -->
+    <!-- comments...                                                      -->
+    <messages>
+        <!-- language link titles -->
+        <message id="nativename">Simplified Chinese</message>
+
+        <!-- Used for the moduleindex -->
+        <message id="corefeatures">核心特性与多处理模块(MPM)</message>
+        <message id="othermodules">其它模块</message>
+        <message id="obsoletemodules">过时的模块</message>
+
+        <!-- Used for the modulesynopsis and sitemap -->
+        <message id="obsoleteapachemodule">过时的 Apache 模块</message>
+        <message id="apachemodule">Apache 模块</message>
+        <message id="apachecore">Apache 核心特性</message>
+        <message id="apachempmcommon">Apache MPM 通用指令</message>
+        <message id="apachempm">Apache MPM</message>
+
+        <!-- Used in description box for modulesynopsis -->
+        <message id="description">描述</message>
+        <message id="seealso">参见</message>
+        <message id="topics">主题</message>
+        <message id="status">状态</message>
+        <message id="moduleidentifier">模块标识</message>
+        <message id="sourcefile">源文件</message>
+        <message id="compatibility">兼容性</message>
+
+        <!-- Used in manualpage -->
+        <message id="relatedmodules">相关模块</message>
+        <message id="relateddirectives">相关指令</message>
+        <message id="lowercase">abcdefghijklmnopqrstuvwxyz</message>
+        <message id="uppercase">ABCDEFGHIJKLMNOPQRSTUVWXYZ</message>
+        <message id="name-section">名称</message>
+        <message id="hyphenation"></message>
+
+        <!-- Used in description box for directives -->
+        <message id="syntax">语法</message>
+        <message id="default">默认</message>
+        <message id="context">上下文</message>
+        <message id="override">覆盖</message>
+        <message id="status">状态</message>
+        <message id="module">模块</message>
+
+        <!-- Status descriptions -->
+        <message id="base" letter="B">基础</message>
+        <message id="mpm" letter="M">MPM</message>
+        <message id="core" letter="C">核心</message>
+        <message id="extension" letter="E">扩展</message>
+        <message id="experimental" letter="X">实验</message>
+
+        <!-- Used in directive context lists -->
+        <message id="serverconfig" letter="s">服务器配置</message>
+        <message id="virtualhost" letter="v">虚拟主机</message>
+        <message id="directory" letter="d">目录</message>
+        <message id="htaccess" letter="h">.htaccess</message>
+
+        <!-- Used for directive lists -->
+        <message id="directives">指令</message>
+        <!-- the optional attribute replace-space-with takes a string.
+             if present, the space between <directive name> and 'Directive'
+             in directivesynopsis headings will be replaced by the given string.
+             (see de.xml for an example) -->
+        <message id="directive">指令</message>
+        <message id="nodirectives">此模块没有提供指令。</message>
+
+        <!-- Used in summaries -->
+        <message id="summary">摘要</message>
+
+        <!-- Used for glossary link titles -->
+        <message id="glossarylink">参见术语</message>
+
+        <!-- Used in headers and footers -->
+        <message id="apachetitle">- Apache HTTP 服务器</message>
+        <message id="apachehttpserver">Apache HTTP 服务器版本
+            &httpd.major;.&httpd.minor;</message>
+        <message id="apachedocalt">[APACHE 文档]</message>
+        <message id="search">Google 搜索</message> <!-- search button -->
+        <message id="index">索引</message> <!-- deprecated -->
+        <message id="home">主页</message> <!-- deprecated -->
+
+        <!-- breadcrumb links -->
+        <message id="apache">Apache</message>
+        <message id="http-server">HTTP 服务器</message>
+        <message id="documentation">文档</message>
+        <message id="version">版本 &httpd.major;.&httpd.minor;</message>
+
+        <!-- super menu -->
+        <message id="modules">模块</message>
+        <message id="faq">常见问题</message>
+        <message id="glossary">术语</message>
+        <message id="sitemap">网站导航</message>
+
+        <!-- footer line -->
+        <message id="before-license">基于</message>
+        <message id="after-license">许可证</message>
+        <message id="langavail">可用语言</message>
+
+        <!-- not up to date -->
+        <message id="outofdate">此翻译可能过期。要了解最近的更改，请阅读英文版。</message>
+        <!-- directive not translated yet -->
+        <message id="nottranslated">此指令的文档还没有被翻译。请阅读英文版。</message>
+    </messages>
+</language>
diff --git a/docs/manual/style/manual.zh-cn.xsl b/docs/manual/style/manual.zh-cn.xsl
new file mode 100644
index 0000000..ece7d0d
--- /dev/null
+++ b/docs/manual/style/manual.zh-cn.xsl
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+<xsl:output method="xml" encoding="UTF-8" indent="no" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
+
+<!-- Read the localized messages from the specified language file -->
+<xsl:variable name="message" select="document('lang/zh-cn.xml')/language/messages/message"/>
+<xsl:variable name="doclang">zh-cn</xsl:variable>
+<xsl:variable name="allmodules" select="document('xsl/util/allmodules.xml')/items/item[@lang=$doclang]"/>
+
+<!-- some meta information have to be passed to the transformation -->
+<xsl:variable name="output-encoding">UTF-8</xsl:variable>
+<xsl:variable name="is-chm" select="false()"/>
+<xsl:variable name="is-zip" select="false()"/>
+
+<!-- Now get the real guts of the stylesheet -->
+<xsl:include href="xsl/common.xsl"/>
+
+</xsl:stylesheet>
diff --git a/docs/manual/style/xsl/util/allmodules.xml b/docs/manual/style/xsl/util/allmodules.xml
index 1eb12fe..0dbf5fa 100644
--- a/docs/manual/style/xsl/util/allmodules.xml
+++ b/docs/manual/style/xsl/util/allmodules.xml
@@ -9,4 +9,5 @@
 <item lang="pt-br">../../../mod/allmodules.xml.pt-br</item>
 <item lang="ru">../../../mod/allmodules.xml.ru</item>
 <item lang="tr">../../../mod/allmodules.xml.tr</item>
-</items>
\ No newline at end of file
+<item lang="zh-cn">../../../mod/allmodules.xml.zh-cn</item>
+</items>
diff --git a/docs/manual/style/xsl/util/designations.xml b/docs/manual/style/xsl/util/designations.xml
index 2da81bd..fc6f81b 100644
--- a/docs/manual/style/xsl/util/designations.xml
+++ b/docs/manual/style/xsl/util/designations.xml
@@ -9,4 +9,5 @@
 <item charset="ISO-8859-1" lang="pt-br">.html.pt-br</item>
 <item charset="KOI8-R" lang="ru">.html.ru.koi8-r</item>
 <item charset="UTF-8" lang="tr">.html.tr.utf8</item>
+<item charset="UTF-8" lang="zh-cn">.html.zh-cn</item>
 </items>
-- 
1.7.2.3

