Skip to content

Latest commit

 

History

History
7 lines (7 loc) · 516 Bytes

README-zh-CN.md

File metadata and controls

7 lines (7 loc) · 516 Bytes

这个文件是使用postsTranslator翻译的。

MarkdownTranslator English Doc

使用 Google Translation API 的 Markdown 文件翻译器

目的

此脚本用于自动翻译和构建我的博客站点的英文版本。 博客 由 hexo 支持,使用 markdown 文件进行编写。

用法

安装所有依赖项后,只需从 postsTranslator 导入函数 translate 并通过指定源和目标文件的路径开始翻译。