YngwieWang commented on a change in pull request #9299: [FLINK-13405][docs-zh] 
Translate "Basic API Concepts" page into Chinese
URL: https://github.com/apache/flink/pull/9299#discussion_r317585117
 
 

 ##########
 File path: docs/dev/api_concepts.zh.md
 ##########
 @@ -211,76 +156,56 @@ print()
 </div>
 </div>
 
-Once you specified the complete program you need to **trigger the program 
execution** by calling
-`execute()` on the `StreamExecutionEnvironment`.
-Depending on the type of the `ExecutionEnvironment` the execution will be 
triggered on your local
-machine or submit your program for execution on a cluster.
+当设定好整个程序以后你需要调用 `StreamExecutionEnvironment` 的 `execute()` 
方法**触发程序执行**。至于在你的本机触发还是提交到集群运行取决于 `ExecutionEnvironment` 的类型。
 
-The `execute()` method is returning a `JobExecutionResult`, this contains 
execution
-times and accumulator results.
+`execute()` 方法返回 `JobExecutionResult`,它包括执行耗时和一个累加器的结果。
 
-Please see the [Streaming Guide]({{ site.baseurl }}/dev/datastream_api.html)
-for information about streaming data sources and sink and for more in-depths 
information
-about the supported transformations on DataStream.
+有关流数据源和 sink 以及有关 DataStream 支持的转换操作的详细信息请参阅[流处理指南]({{ site.baseurl 
}}/zh/dev/datastream_api.html)。
 
-Check out the [Batch Guide]({{ site.baseurl }}/dev/batch/index.html)
-for information about batch data sources and sink and for more in-depths 
information
-about the supported transformations on DataSet.
+有关批数据源和 sink 以及有关 DataSet 支持的转换操作的详细信息请参阅[批处理指南]({{ site.baseurl 
}}/zh/dev/batch/index.html)。
 
 
 {% top %}
 
-Lazy Evaluation
+延迟求值
 ---------------
 
-All Flink programs are executed lazily: When the program's main method is 
executed, the data loading
-and transformations do not happen directly. Rather, each operation is created 
and added to the
-program's plan. The operations are actually executed when the execution is 
explicitly triggered by
-an `execute()` call on the execution environment. Whether the program is 
executed locally
-or on a cluster depends on the type of execution environment
+无论在本地还是集群执行,所有的 Flink 程序都是延迟执行的:当程序的 main 
方法被执行时,并不立即执行数据的加载和转换,而是创建每个操作并将其加入到程序的执行计划中。当执行环境调用 `execute()` 
方法显式地触发执行的时候才真正执行各个操作。
 
 Review comment:
   "Whether the program is executed locally or on a cluster" 翻译为 “无论在本地还是集群执行” 
放在句首了。
   “depends on the type of execution environment” 
没有翻译,因为前面介绍过执行环境决定本地还是集群执行,所以不翻译不会造成误解,加上很难翻译顺畅。

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to