Simplified Chinese translation of Node.js #29 - 1066 words
Repository:
https://github.com/nodejs/i18n
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 the stream module. In general, the translation process is quite straightforward, I just need to pay more attention to make my translations fluent and easy to read to Chinese readers. Just one thing worth mentioning:
When I translate this string:
This can cause unexpected results if <0>readable.unshift()</0> is called
during a read (i.e. from within a <1>stream._read()</1> implementation on a custom stream).
My translation is:
如果在读取 (例如:在自定义流中的 <1>stream._read()</1> 实现) 时调用了 <0>readable.unshift()</0>,将会导致不可预料的结果。
The saved translation is:
Assuming some predefined rules have been loaded and the transformation was made by these rules.
Languages
I translate Node.js from English to Simplified Chinese.
Word Count
Regarding the number of words, this is my 29th contribution to Node.js project and I have translated 1066 words in stream module.
Before:
3559 words in “stream.md”
After:
4625 words in “stream.md”
Total: 4625-3559 = 1066 words
Proof of Authorship
My translation activities can be viewed in my Crowdin profile: https://crowdin.com/profile/aafeng/activity
Comments