Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@woonivers/i18n-translate

Package Overview
Dependencies
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@woonivers/i18n-translate

i18n-translate CLI

latest
Source
npmnpm
Version
0.1.2
Version published
Maintainers
3
Created
Source

i18n-translate CLI

CLI tool that downloads every poeditor language translation form your project and save them in the indcated path.

Usage

i18n-translate --project $PROJECT_ID --token $POEDITOR_TOKEN --path ./app/i18n

Project, Token and Path are required parameters

Params

Because the environment variables doesn't work inside the package.json scripts, you can load the parametrs using config files. These directories are

  • ~/.woo/.i18n-translaterc
  • ~/.i18n-translate/.i18n-translaterc
  • ./.i18n-translaterc

If you pass parameters through CLI, they will be overwritten.

Example config

Valid names: .i18n-translaterc, .i18n-translaterc.json, .i18n-translaterc.yaml

{
  "platform": "poeditor",
  "project": "103",
  "token": "013f3feba1c0b9dfbe03d0c74a7d0cc9",
  "path": "./app/i18n"
}

or

---
platform: poeditor
project: '103'
token: 013f3feba1c0b9dfbe03d0c74a7d0cc9
path: './app/i18n'

License

MIT - see LICENSE

Keywords

woonivers

FAQs

Package last updated on 03 Dec 2020

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