Skip to content

antvis/translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@antv/translator

Translate markdown files by sending a request to Google Translate.

  • *.zh.md -> *.en.md
  • Local credentials are not required.
  • If the document is long it will be slow.

Install:

$ npm install @antv/translator

Translate files under certain directory or a single file:

$ translate -d docs
$ translate -d docs/chart.zh.md

Inspired by: