🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
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

latest
npmnpm
Version
0.5.0
Version published
Weekly downloads
22
633.33%
Maintainers
1
Weekly downloads
 
Created
Source

Install

pnpm i translator-server -d

pnpm translator

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

约定

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

开发

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

FAQs

Package last updated on 16 Jan 2026

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