Socket
Socket
Sign inDemoInstall

html-i18n-cli

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

html-i18n-cli

HTML 国际化工具


Version published
Maintainers
1
Created
Source

html-i18n-cli

HTML 国际化工具

安装

npm i -g html-i18n-cli

使用

  1. 生成 JSON 文件
html parse test.html
  1. 翻译 JSON 文件

输入两次 Ctrl + C 终止,机翻后可手动校对

html translate test.json
  • -t zh 指定目标语言
  • -n 50 指定更新频率
  • --appid 百度翻译 APPID
  • --serret 百度翻译 SECRET
  1. 还原 HTML 文件
html render test.html test.json

附加功能

  • JSON 转 EXCEL
html convert test.json
  • EXCEL 转 JSON
html convert test.xlsx

相关项目

FAQs

Package last updated on 11 Sep 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc