Repository navigation
Chinese Translation Progress #324
Description
Maintainer List
@leviding, @lycheeEng, @MartinsYong, @songhn233
For New Translators
Please read this first (click to open)
To translate an article:
- Check that no one else has claimed your article in the checklist below.
- Comment below with the title of the article that you would like to translate, exactly as listed, e.g.
An Introduction to JavaScript.- Please take only one article at a time.
- Fork this repo, translate the article in your fork and submit a pull request!
- The pull request title should be same as the article, e.g.
An Introduction to JavaScript(just like comment)
- The pull request title should be same as the article, e.g.
Please be prompt with your translations! If you find that you can't commit any more, let maintainers know so they can assign the page to someone else.
For Maintainers
Click to open
We recommend that a translation has 2 reviews to be merged.
Please let others know what you do, on community boards and chats, invite them to join. Translations become better if more people see them.
Translations are tracked below, like this:
Our helpful bot watches comments and adds the translator nick and PR id, marks completed, when PR is merged. You can read the details at https://javascript.info/translate/bot.
If something doesn't work right, please contact @iliakan.
Team translation
More details about team translation: https://javascript.info/translate/bot.
Only maintainers can check/uncheck items below. If you're not, please write in a comment what you take to translate, the title, exactly as in the list.
The JavaScript language
An introduction
- An Introduction to JavaScript
- Manuals and specifications (@MartinsYong)
- Code editors
- Developer console
JavaScript Fundamentals
- Hello, world!
- Code structure
- The modern mode, "use strict"
- Variables
- Data types
- Interaction: alert, prompt, confirm
- Type Conversions
- Basic operators, maths (@noirlyrik)
- Comparisons
- Conditional branching: if, '?'
- Logical operators
- Nullish coalescing operator '??' (@scarsu)
- Loops: while and for
- The "switch" statement
- Functions
- Function expressions
- Arrow functions, the basics (@cyz980908) Arrow functions, the basics #537
- JavaScript specials
Code quality
- Debugging in the browser
- Coding Style
- Comments
- Ninja code
- Automated testing with Mocha
- Polyfills and transpilers
Objects: the basics
- Objects (@f0rb1d)
- Object references and copying
- Garbage collection
- Object methods, "this"
- Constructor, operator "new"
- Optional chaining '?.'
- Symbol type
- Object to primitive conversion
Data types
- Methods of primitives
- Numbers (@chanjsq)
- Strings
- Arrays
- Array methods
- Iterables
- Map and Set
- WeakMap and WeakSet (@lgnsg)
- Object.keys, values, entries
- Destructuring assignment
- Date and time
- JSON methods, toJSON
Advanced working with functions
- Recursion and stack
- Rest parameters and spread syntax
- Variable scope, closure (@CaptainWang98)
- The old "var"
- Global object
- Function object, NFE
- The "new Function" syntax
- Scheduling: setTimeout and setInterval
- Decorators and forwarding, call/apply
- Function binding
- Arrow functions revisited
Object properties configuration
Prototypes, inheritance
Classes
- Class basic syntax
- Class inheritance
- Static properties and methods
- Private and protected properties and methods (@ish-kafel) Private and protected properties and methods #451
- Extending built-in classes
- Class checking: "instanceof"
- Mixins
Error handling
Promises, async/await
- Introduction: callbacks
- Promise
- Promises chaining
- Error handling with promises
- Promise API
- Promisification
- Microtasks
- Async/await
Generators, advanced iteration
Modules
Miscellaneous
- Proxy and Reflect (@yxbysxcoco)
- Eval: run a code string
- Currying (@cyz980908)
- Reference Type (@enrilchow)
- BigInt (@LazeBear)
Browser: Document, Events, Interfaces
Document
- Browser environment, specs
- DOM tree
- Walking the DOM
- Searching: getElement*, querySelector*
- Node properties: type, tag and contents
- Attributes and properties
- Modifying the document
- Styles and classes
- Element size and scrolling
- Window sizes and scrolling
- Coordinates
Introduction to Events
- Introduction to browser events
- Bubbling and capturing
- Event delegation
- Browser default actions
- Dispatching custom events
UI Events
- Mouse events
- Moving the mouse: mouseover/out, mouseenter/leave
- Drag'n'Drop with mouse events
- Pointer events @BillChen2K
- Keyboard: keydown and keyup
- Scrolling
Forms, controls
- Form properties and methods
- Focusing: focus/blur
- Events: change, input, cut, copy, paste
- Forms: event and method submit
Document and resource loading
- Page: DOMContentLoaded, load, beforeunload, unload
- Scripts: async, defer
- Resource loading: onload and onerror
Miscellaneous
- Mutation observer (@bemself)
- Selection and Range (@bemself)
- Event loop: microtasks and macrotasks
Frames and windows
Binary data, files
- ArrayBuffer, binary arrays (@bemself) ArrayBuffer, binary arrays #529
- TextDecoder and TextEncoder (@weekendchow)
- Blob
- File and FileReader (@bemself) File and FileReader #512
Network requests
- Fetch
- FormData
- Fetch: Download progress
- Fetch: Abort
- Fetch: Cross-Origin Requests
- Fetch API (@KerbalHao)
- URL objects
- XMLHttpRequest
- Resumable file upload
- Long polling
- WebSocket
- Server Sent Events
Storing data in the browser
- Cookies, document.cookie (@chenyinkai)
- LocalStorage, sessionStorage (@chenyinkai)
- IndexedDB (@Maricaya)
Animation
Web components
- From the orbital height
- Custom elements
- Shadow DOM (@Yixian15)
- Template element (@Bit0r)
- Shadow DOM slots, composition @Baoyuantop
- Shadow DOM styling (@wen-k-s) Shadow DOM styling #739
- Shadow DOM and events
Regular expressions
- Patterns and flags
- Character classes (@bhaltair)
- Unicode: flag "u" and class \p{...}
- Anchors: string start ^ and end $
- Multiline mode of anchors ^ $, flag "m"
- Word boundary: \b (@bemself)
- Escaping, special characters
- Sets and ranges [...]
- Quantifiers +, *, ? and {n}
- Greedy and lazy quantifiers
- Capturing groups (@Bit0r)
- Backreferences in pattern: \N and \k<name> (@yyxygit) Backreferences in pattern: \N and \k<name> #592
- Alternation (OR) |
- Lookahead and lookbehind
- Catastrophic backtracking (@Isildur46) Catastrophic backtracking #820
- Sticky flag "y", searching at position (@iFiring)
- Methods of RegExp and String (@bemself)
Activity
leviding commentedon May 13, 2019
@FakeInc Yes, you can translate it and then make a pull request.
翻译的时候请注意文章格式排版要求:http://github.com/xitu/gold-miner/wiki/%E8%AF%91%E6%96%87%E6%8E%92%E7%89%88%E8%A7%84%E5%88%99%E6%8C%87%E5%8C%97
Xuyuey commentedon Jun 3, 2019
Microtasks and event loop 翻译认领
leviding commentedon Jun 3, 2019
@Xuyuey OK
lycheeEng commentedon Jun 10, 2019
认领
savokiss commentedon Jun 12, 2019
Async/await
leviding commentedon Jun 12, 2019
@lycheeEng @savokiss 好的 👍
Yixian15 commentedon Jun 15, 2019
From the orbital height
lycheeEng commentedon Jun 15, 2019
不小心点了下复选框,竟然勾上了,然后我又给取消掉了,不好意思。
认领 Shadow DOM and events
leviding commentedon Jun 16, 2019
@Yixian15 @lycheeEng 好的 👍
Yixian15 commentedon Jun 22, 2019
Custom elements
73 remaining items
javascript-translate-bot commentedon Jun 20, 2020
Error: the article already has meta information in the Progress Issue "(@Maricaya)"⁉️
erlanzhou commentedon Jun 27, 2020
Reference Type
codetaro commentedon Jul 3, 2020
Nullish coalescing operator '??'
javascript-translate-bot commentedon Jul 3, 2020
Error: the article already has meta information in the Progress Issue "(@scarsu)"⁉️
jtchen2k commentedon Jul 22, 2020
Translating Pointer Events together with [Jul 17, 2020] Part-6 #795
Isildur46 commentedon Aug 28, 2020
Catastrophic backtracking
hengistchan commentedon Sep 8, 2020
Catastrophic backtracking
javascript-translate-bot commentedon Sep 8, 2020
Error: the article already has meta information in the Progress Issue "(@Isildur46)"⁉️
CaptainWang98 commentedon Sep 19, 2020
Reference Type @leviding
leviding commentedon Nov 16, 2020
所有章节均已翻译完成,感谢大家!后续继续更新和优化,寻找问题并修正,感谢!
xubeng commentedon Mar 1, 2023
@leviding 都翻译完了?但是https://javascript.info/translate 上显示进度为92%:

leviding commentedon Jun 30, 2024
都翻译完成了,显示有误差。