You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2020/08/10 03:04:53 UTC

[GitHub] [flink] Thesharing commented on a change in pull request #13089: [FLINK-18813][docs-zh] Translate the 'Local Installation' page of 'Try Flink' into Chinese

Thesharing commented on a change in pull request #13089:
URL: https://github.com/apache/flink/pull/13089#discussion_r467664155



##########
File path: docs/try-flink/local_installation.zh.md
##########
@@ -26,36 +26,35 @@ under the License.
 {% if site.version contains "SNAPSHOT" %}
 <p style="border-radius: 5px; padding: 5px" class="bg-danger">
   <b>
-  NOTE: The Apache Flink community only publishes official builds for
-  released versions of Apache Flink.
+  注意:Apache Flink 社区只发布 Apache Flink 发布版本的正式版本。

Review comment:
       I wonder would it be better to say "只发布Apache Flink 的官方发行版"? 

##########
File path: docs/try-flink/local_installation.zh.md
##########
@@ -26,36 +26,35 @@ under the License.
 {% if site.version contains "SNAPSHOT" %}
 <p style="border-radius: 5px; padding: 5px" class="bg-danger">
   <b>
-  NOTE: The Apache Flink community only publishes official builds for
-  released versions of Apache Flink.
+  注意:Apache Flink 社区只发布 Apache Flink 发布版本的正式版本。
   </b><br>
-  Since you are currently looking at the latest SNAPSHOT
-  version of the documentation, all version references below will not work.
-  Please switch the documentation to the latest released version via the release picker which you
-  find on the left side below the menu.
+  由于你当前正在查看文档的最新快照版本,因此以下所有版本引用都将不起作用。请通过菜单左侧的发布选择器将文档切换到最新发布的版本。
 </p>
 {% else %}
-Follow these few steps to download the latest stable versions and get started.
+请按照以下几个步骤下载最新的稳定版本并开始使用。
 
-## Step 1: Download
+<a name="step-1-download"></a>
 
-To be able to run Flink, the only requirement is to have a working __Java 8 or 11__ installation.
-You can check the correct installation of Java by issuing the following command:
+## 步骤 1:下载
+
+为了能够运行 Flink,唯一的要求就是安装有效的 __Java 8 或者 Java 11__。你可以通过发出以下命令来检查 Java 的正确安装。
 
 {% highlight bash %}
 java -version
 {% endhighlight %}
 
-[Download](https://flink.apache.org/downloads.html) the {{ site.version }} release and un-tar it. 
+[下载](https://flink.apache.org/downloads.html) {{ site.version }} 发行版本并解压。
 
 {% highlight bash %}
 $ tar -xzf flink-{{ site.version }}-bin-scala{{ site.scala_version_suffix }}.tgz
 $ cd flink-{{ site.version }}-bin-scala{{ site.scala_version_suffix }}
 {% endhighlight %}
 
-## Step 2: Start a Cluster
+<a name="step-2-start-a-cluster"></a>
+
+## 步骤 2:启动集群
 
-Flink ships with a single bash script to start a local cluster.
+Flink 附带一个 bash 脚本来启动本地集群。

Review comment:
       Would it be better if we translate the whole sentence like “Flink附带了一个bash脚本,可以用于启动本地集群。”?

##########
File path: docs/try-flink/local_installation.zh.md
##########
@@ -26,36 +26,35 @@ under the License.
 {% if site.version contains "SNAPSHOT" %}
 <p style="border-radius: 5px; padding: 5px" class="bg-danger">
   <b>
-  NOTE: The Apache Flink community only publishes official builds for
-  released versions of Apache Flink.
+  注意:Apache Flink 社区只发布 Apache Flink 发布版本的正式版本。
   </b><br>
-  Since you are currently looking at the latest SNAPSHOT
-  version of the documentation, all version references below will not work.
-  Please switch the documentation to the latest released version via the release picker which you
-  find on the left side below the menu.
+  由于你当前正在查看文档的最新快照版本,因此以下所有版本引用都将不起作用。请通过菜单左侧的发布选择器将文档切换到最新发布的版本。

Review comment:
       Would it be better to replace “引用” with "链接"? In addition, would it better to translate the latter sentence like "请通过左侧菜单底部的“版本选择”将文档切换到最新发布的版本。"?

##########
File path: docs/try-flink/local_installation.zh.md
##########
@@ -64,10 +63,11 @@ Starting standalonesession daemon on host.
 Starting taskexecutor daemon on host.
 {% endhighlight %}
 
-## Step 3: Submit a Job
+<a name="step-3-submit-a-job"></a>
 
-Releases of Flink come with a number of example Jobs.
-You can quickly deploy one of these applications to the running cluster. 
+## 步骤 3:提交作业(Job)
+
+Flink 的发行版本附带了许多示例作业。你可以将这些应用程序之一快速部署到正在运行的集群。

Review comment:
       Would it be better if we remove "之一"?

##########
File path: docs/try-flink/local_installation.zh.md
##########
@@ -26,36 +26,35 @@ under the License.
 {% if site.version contains "SNAPSHOT" %}
 <p style="border-radius: 5px; padding: 5px" class="bg-danger">
   <b>
-  NOTE: The Apache Flink community only publishes official builds for
-  released versions of Apache Flink.
+  注意:Apache Flink 社区只发布 Apache Flink 发布版本的正式版本。
   </b><br>
-  Since you are currently looking at the latest SNAPSHOT
-  version of the documentation, all version references below will not work.
-  Please switch the documentation to the latest released version via the release picker which you
-  find on the left side below the menu.
+  由于你当前正在查看文档的最新快照版本,因此以下所有版本引用都将不起作用。请通过菜单左侧的发布选择器将文档切换到最新发布的版本。
 </p>
 {% else %}
-Follow these few steps to download the latest stable versions and get started.
+请按照以下几个步骤下载最新的稳定版本并开始使用。
 
-## Step 1: Download
+<a name="step-1-download"></a>
 
-To be able to run Flink, the only requirement is to have a working __Java 8 or 11__ installation.
-You can check the correct installation of Java by issuing the following command:
+## 步骤 1:下载
+
+为了能够运行 Flink,唯一的要求就是安装有效的 __Java 8 或者 Java 11__。你可以通过发出以下命令来检查 Java 的正确安装。

Review comment:
       I think "发出以下命令" is better to be replaced with "运行以下命令".

##########
File path: docs/try-flink/local_installation.zh.md
##########
@@ -80,11 +80,13 @@ $ tail log/flink-*-taskexecutor-*.out
   (be,2)
 {% endhighlight %}
 
-Additionally, you can check Flink's [Web UI](http://localhost:8080) to monitor the status of the Cluster and running Job.
+另外,你可以检查 Flink 的 [Web UI](http://localhost:8080) 来监视集群的状态和正在运行的作业。

Review comment:
       Would it be better if we change the word "检查" into "通过"?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org