zh.javascript.info
zh.javascript.info copied to clipboard
Chinese Translation Progress
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:
- [x] Home Page (@iliakan) #1
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
- [X] An Introduction to JavaScript
- [X] Manuals and specifications (@MartinsYong)
- [X] Code editors
- [X] Developer console
JavaScript Fundamentals
- [X] Hello, world!
- [X] Code structure
- [X] The modern mode, "use strict"
- [X] Variables
- [X] Data types
- [X] Interaction: alert, prompt, confirm
- [X] Type Conversions
- [X] Basic operators, maths (@noirlyrik)
- [X] Comparisons
- [X] Conditional branching: if, '?'
- [X] Logical operators
- [X] Nullish coalescing operator '??' (@scarsu)
- [X] Loops: while and for
- [X] The "switch" statement
- [X] Functions
- [X] Function expressions
- [X] Arrow functions, the basics (@cyz980908) #537
- [X] JavaScript specials
Code quality
- [x] Debugging in the browser
- [X] Coding Style
- [X] Comments
- [X] Ninja code
- [X] Automated testing with Mocha
- [x] Polyfills and transpilers
Objects: the basics
- [X] Objects (@f0rb1d)
- [X] Object references and copying
- [X] Garbage collection
- [X] Object methods, "this"
- [X] Constructor, operator "new"
- [X] Optional chaining '?.'
- [X] Symbol type
- [X] Object to primitive conversion
Data types
- [X] Methods of primitives
- [X] Numbers (@chanjsq)
- [X] Strings
- [X] Arrays
- [X] Array methods
- [X] Iterables
- [X] Map and Set
- [X] WeakMap and WeakSet (@lgnsg)
- [X] Object.keys, values, entries
- [X] Destructuring assignment
- [X] Date and time
- [X] JSON methods, toJSON
Advanced working with functions
- [X] Recursion and stack
- [X] Rest parameters and spread syntax
- [X] Variable scope, closure (@CaptainWang98)
- [X] The old "var"
- [X] Global object
- [X] Function object, NFE
- [X] The "new Function" syntax
- [X] Scheduling: setTimeout and setInterval
- [X] Decorators and forwarding, call/apply
- [X] Function binding
- [X] Arrow functions revisited
Object properties configuration
Prototypes, inheritance
- [X] Prototypal inheritance
- [X] F.prototype
- [X] Native prototypes
- [X] Prototype methods, objects without proto
Classes
- [X] Class basic syntax
- [X] Class inheritance
- [X] Static properties and methods
- [X] Private and protected properties and methods (@ish-kafel) #451
- [X] Extending built-in classes
- [X] Class checking: "instanceof"
- [X] Mixins
Error handling
Promises, async/await
- [X] Introduction: callbacks
- [X] Promise
- [X] Promises chaining
- [X] Error handling with promises
- [X] Promise API
- [X] Promisification
- [X] Microtasks
- [X] Async/await
Generators, advanced iteration
Modules
- [X] Modules, introduction
- [X] Export and Import
- [X] Dynamic imports
Miscellaneous
- [X] Proxy and Reflect (@yxbysxcoco)
- [X] Eval: run a code string
- [X] Currying (@cyz980908)
- [X] Reference Type (@enrilchow)
- [X] BigInt (@LazeBear)
Browser: Document, Events, Interfaces
Document
- [X] Browser environment, specs
- [X] DOM tree
- [X] Walking the DOM
- [X] Searching: getElement*, querySelector*
- [X] Node properties: type, tag and contents
- [X] Attributes and properties
- [X] Modifying the document
- [X] Styles and classes
- [X] Element size and scrolling
- [X] Window sizes and scrolling
- [X] Coordinates
Introduction to Events
- [X] Introduction to browser events
- [X] Bubbling and capturing
- [X] Event delegation
- [X] Browser default actions
- [X] Dispatching custom events
UI Events
- [X] Mouse events
- [X] Moving the mouse: mouseover/out, mouseenter/leave
- [X] Drag'n'Drop with mouse events
- [X] Pointer events @BillChen2K
- [X] Keyboard: keydown and keyup
- [X] Scrolling
Forms, controls
- [X] Form properties and methods
- [X] Focusing: focus/blur
- [X] Events: change, input, cut, copy, paste
- [X] Forms: event and method submit
Document and resource loading
- [X] Page: DOMContentLoaded, load, beforeunload, unload
- [X] Scripts: async, defer
- [X] Resource loading: onload and onerror
Miscellaneous
- [X] Mutation observer (@bemself)
- [X] Selection and Range (@bemself)
- [X] Event loop: microtasks and macrotasks
Frames and windows
Binary data, files
- [X] ArrayBuffer, binary arrays (@bemself) #529
- [X] TextDecoder and TextEncoder (@weekendchow)
- [X] Blob
- [X] File and FileReader (@bemself) #512
Network requests
- [X] Fetch
- [X] FormData
- [X] Fetch: Download progress
- [X] Fetch: Abort
- [X] Fetch: Cross-Origin Requests
- [X] Fetch API (@KerbalHao)
- [X] URL objects
- [X] XMLHttpRequest
- [X] Resumable file upload
- [X] Long polling
- [X] WebSocket
- [X] Server Sent Events
Storing data in the browser
- [X] Cookies, document.cookie (@chenyinkai)
- [X] LocalStorage, sessionStorage (@chenyinkai)
- [X] IndexedDB (@Maricaya)
Animation
- [X] Bezier curve
- [X] CSS-animations
- [X] JavaScript animations
Web components
- [X] From the orbital height
- [X] Custom elements
- [X] Shadow DOM (@Yixian15)
- [X] Template element (@Bit0r)
- [X] Shadow DOM slots, composition @Baoyuantop
- [X] Shadow DOM styling (@wen-k-s) #739
- [X] Shadow DOM and events
Regular expressions
- [X] Patterns and flags
- [X] Character classes (@bhaltair)
- [X] Unicode: flag "u" and class \p{...}
- [X] Anchors: string start ^ and end $
- [X] Multiline mode of anchors ^ $, flag "m"
- [X] Word boundary: \b (@bemself)
- [X] Escaping, special characters
- [X] Sets and ranges [...]
- [X] Quantifiers +, *, ? and {n}
- [X] Greedy and lazy quantifiers
- [X] Capturing groups (@Bit0r)
- [X] Backreferences in pattern: \N and \k<name> (@yyxygit) #592
- [X] Alternation (OR) |
- [X] Lookahead and lookbehind
- [X] Catastrophic backtracking (@Isildur46) #820
- [X] Sticky flag "y", searching at position (@iFiring)
- [X] Methods of RegExp and String (@bemself)
Hi! After checking, I found that no one has claimed the article "Unicode character properties \p". I'd like to translate it to Chinese.
@fakeinc Yes, you can translate it and then make a pull request.
翻译的时候请注意文章格式排版要求:https://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
Thanks, I'll do it.
From: LeviDing [email protected] Sent: Sunday, May 12, 2019 9:18:18 PM To: javascript-tutorial/zh.javascript.info Cc: fakeinc; Mention Subject: Re: [javascript-tutorial/zh.javascript.info] Chinese Translation Progress (#324)
@fakeinchttps://github.com/fakeinc Yes, you can translate it and then make a pull request.
翻译的时候请注意文章格式排版要求:https://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
― You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/javascript-tutorial/zh.javascript.info/issues/324#issuecomment-491646749, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHHBESCJZBIV64B6QPEB6C3PVC6VVANCNFSM4HGHMN7A.
Microtasks and event loop 翻译认领
@Xuyuey OK
认领
- Fetch: Basics(已翻译完成)
- Fetch: Download progress
- Fetch: Abort
Async/await
@lycheeEng @savokiss 好的 👍
From the orbital height
不小心点了下复选框,竟然勾上了,然后我又给取消掉了,不好意思。
认领 Shadow DOM and events
@Yixian15 @lycheeEng 好的 👍
Custom elements
@Yixian15 ok
I can do "Prototypal inheritance"
@leon0707 ok
@leviding Due Jul 7th
An Introduction to JavaScript Code editors Developer console
@MartinsYong Great!
Manuals and specifications
sync & translate:
- Hello, world!
- Code structure
- The modern mode, "use strict"
- Variables
- Data types
- Type Conversions
- Operators
- Comparisons
- Interaction: alert, prompt, confirm
- Conditional operators: if, '?'
- Logical operators
- Loops: while and for
- The "switch" statement
- Functions
- Function expressions and arrows
- JavaScript specials
LocalStorage, sessionStorage
@chenyinkai ok
Shadow DOM
@Yixian15 ok
Sync and translate all chapters in 5-network.
Cookies, document.cookie
Event loop: microtasks and macrotasks
Proxy and Reflect
Private and protected properties and methods
Classes: Static properties and methods