[zh]Update contribute pages for links with '/zh/' prefix, using new prefix '/zh-cn/'
This commit is contained in:
@@ -73,7 +73,7 @@ The website content directory includes sub-directories for each language. The lo
|
||||
### 派生(fork)并且克隆仓库 {#fork-and-clone-the-repo}
|
||||
|
||||
首先,为 [kubernetes/website](https://github.com/kubernetes/website) 仓库
|
||||
[创建你自己的副本](/zh/docs/contribute/new-content/open-a-pr/#fork-the-repo)。
|
||||
[创建你自己的副本](/zh-cn/docs/contribute/new-content/open-a-pr/#fork-the-repo)。
|
||||
|
||||
<!--
|
||||
Then, clone your fork and `cd` into it:
|
||||
@@ -116,7 +116,7 @@ that localization. The process is very similar to proposing changes to the upstr
|
||||
|
||||
请将拉取请求限制为单个本地化,因为在多个本地化中更改内容的拉取请求可能难以审查。
|
||||
|
||||
按照[内容改进建议](/zh/docs/contribute/suggest-improvements/)提出对该本地化的更改。
|
||||
按照[内容改进建议](/zh-cn/docs/contribute/suggest-improvements/)提出对该本地化的更改。
|
||||
该过程与提议更改上游(英文)内容非常相似。
|
||||
|
||||
<!--
|
||||
@@ -434,7 +434,7 @@ For an example of adding a new localization, see the PR to enable [docs in Frenc
|
||||
-->
|
||||
### 打开拉取请求 {#open-a-pull-request}
|
||||
|
||||
接下来,[打开拉取请求](/zh/docs/contribute/new-content/open-a-pr/#open-a-pr)(PR)
|
||||
接下来,[打开拉取请求](/zh-cn/docs/contribute/new-content/open-a-pr/#open-a-pr)(PR)
|
||||
将本地化添加到 `kubernetes/website` 存储库。
|
||||
|
||||
PR 必须包含所有[最低要求内容](#minimum-required-content)才能获得批准。
|
||||
@@ -515,9 +515,9 @@ Releases | [All heading and subheading URLs](/releases)
|
||||
-->
|
||||
描述 | 网址
|
||||
-----|-----
|
||||
主页 | [所有标题和副标题网址](/zh/docs/home/)
|
||||
安装 | [所有标题和副标题网址](/zh/docs/setup/)
|
||||
教程 | [Kubernetes 基础](/zh/docs/tutorials/kubernetes-basics/), [Hello Minikube](/zh/docs/tutorials/hello-minikube/)
|
||||
主页 | [所有标题和副标题网址](/zh-cn/docs/home/)
|
||||
安装 | [所有标题和副标题网址](/zh-cn/docs/setup/)
|
||||
教程 | [Kubernetes 基础](/zh-cn/docs/tutorials/kubernetes-basics/), [Hello Minikube](/zh-cn/docs/tutorials/hello-minikube/)
|
||||
网站字符串 | [所有网站字符串](#Site-strings-in-i18n)
|
||||
发行版本 | [所有标题和副标题 URL](/releases)
|
||||
|
||||
@@ -525,7 +525,7 @@ Releases | [All heading and subheading URLs](/releases)
|
||||
Translated documents must reside in their own `content/**/` subdirectory, but otherwise follow the same URL path as the English source. For example, to prepare the [Kubernetes Basics](/docs/tutorials/kubernetes-basics/) tutorial for translation into German, create a subfolder under the `content/de/` folder and copy the English source:
|
||||
-->
|
||||
翻译后的文档必须保存在自己的 `content/**/` 子目录中,否则将遵循与英文源相同的 URL 路径。
|
||||
例如,要准备将 [Kubernetes 基础](/zh/docs/tutorials/kubernetes-basics/) 教程翻译为德语,
|
||||
例如,要准备将 [Kubernetes 基础](/zh-cn/docs/tutorials/kubernetes-basics/) 教程翻译为德语,
|
||||
请在 `content/de/` 文件夹下创建一个子文件夹并复制英文源:
|
||||
|
||||
```shell
|
||||
@@ -634,7 +634,7 @@ Some language teams have their own language-specific style guide and glossary. F
|
||||
### 特定语言的样式指南和词汇表 {#language-specific-style-guide-and-glossary}
|
||||
|
||||
一些语言团队有自己的特定语言样式指南和词汇表。
|
||||
例如,请参见[中文本地化指南](/zh/docs/contribute/localization_zh/)。
|
||||
例如,请参见[中文本地化指南](/zh-cn/docs/contribute/localization_zh/)。
|
||||
|
||||
<!--
|
||||
### Language specific Zoom meetings
|
||||
|
||||
Reference in New Issue
Block a user