🚀 DAY 2 OF LAUNCH WEEK: Unify Your Security Stack with Socket Basics.Learn more →
Socket
Book a DemoInstallSign in
Socket

@woonivers/i18n-translate

Package Overview
Dependencies
Maintainers
2
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

Source
npmnpm
Version
0.1.1
Version published
Weekly downloads
19
-17.39%
Maintainers
2
Weekly downloads
 
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 19 Sep 2019

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