🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

translator-server

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

translator-server

```shell pnpm i translator-server -d

npmnpm
Version
0.4.0
Version published
Weekly downloads
12
9.09%
Maintainers
1
Weekly downloads
 
Created
Source

Install

pnpm i translator-server -d

pnpm translator

然后打开 http://localhost:7733/

约定

  • 工作目录下 src/locales/complete.json 为存放语言包的文件
  • 所有需要翻译的文案及使用当前工具的工作目录为src,即扫描收集文案会在 src 目录下进行

开发

  • 执行 watch
p dev-cli
  • 当前包 link 到全局
p  link --global
  • 在需要有国际化需求的项目内执行
translator dev

FAQs

Package last updated on 22 Apr 2025

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