Simplified Chinese translation of Node.js #38 - 1095 words

Repository

Github: https://github.com/nodejs/i18n

Crowdin link: https://crowdin.com/project/nodejs

Simplified Chinese page: https://crowdin.com/project/nodejs/zh-CN#

Project Details

Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.

Node.js is a free, cross-platform, open source server environment to execute JavaScript outside of a browser. Traditionally, JavaScript is used for client side scripting and runs by a JavaScript engine embedded within a browser. With Node.js, JavaScript can be used to write command line programs or server side scripting. By this way, developers only need to learn a single programming language to do both server side and client side programming.

Node.js is built on Chrome’s V8 JavaScript execution engine which was initially built for Google Chrome. Instead of interpreting JavaScript in real time, V8 compiles JavaScript code to native binary machine code to improve the performance. Node.js has an event driven architecture which makes it suitable for web applications with many I/O operations. That is why Node.js is very fast compared to similar technologies. libuv is used to handle asynchronous events across operating systems.

Contribution Specifications

I have used Node.js in a few small projects but never got a chance to see a whole picture of this amazing and popular framework. I am very exciting to start translating Node.js and very looking forward to my new learning journey!

Translation overview

The whole project consists of 1,048,272 words. victory622 has started working on this project. Since this project is extremely large therefore collaborations are required. I will be concentrating on the translation of v8.x folder which has 353,483 words to translate.

This submission

In this submission, I have been working on ‘process’ module. It took me some extra time to get the appropriate translation for some strings. For example:

The source string is:

The <0>process.cpuUsage()</0> method returns the user and system CPU time usage of the current process, in an object with properties <0>user</0> and <0>system</0>, whose values are microsecond values (millionth of a second).

My initial translation was:

<0>process.cpuUsage()</0> 方法返回包含当前进程的用户及系统 CPU 时间使用率的对象,并将返回值保存在一个包含以微秒 (百万之一秒) 计的 <0>user</0> 和 <0>system</0> 属性的对象中。

With additional punctuation, my revised translation is:

<0>process.cpuUsage()</0> 方法返回包含当前进程的用户及系统 CPU 时间使用情况的对象,该对象包含 <0>user</0> 和 <0>system</0> 属性,这些属性的值都是以微秒 (百万之一秒) 计的。

Languages

I translate Node.js from English to Simplified Chinese.

Word Count

Regarding the number of words, this is my 38th contribution to Node.js project and I have translated 1095 words in process module.

Before:

1400 word in “process.md”

After:

2495 words in “process.md”

Total: 2495-1400 = 1095 words

Proof of Authorship

My translation activities can be viewed in my Crowdin profile: https://crowdin.com/profile/aafeng/activity