Coder Social home page Coder Social logo

poeditor-cli's Introduction

POEditor cli is the Standard Tooling for workflow of POEditor.

language npm package NPM downloads

โœจ Features

  • Upload pre-translated file(s) to POEditor
  • Download translated files(s) to local directory

๐Ÿ“ฆ Install

If you haven't installed Node.js, please install it first, here.

$ npm install poeditor-ci -g

๐Ÿ”จ Configuration

Create a poeditor-config.json in the root directory, and config information as follows:

{
  "apiToken": "",                     // POEditor api token
  "projectId": 0,                     // project id
  "fileType": "",                     // fileType to upload or download, supports files format (po, pot, mo, xls, csv, resw, resx, android_strings, apple_strings, xliff, properties, key_value_json, json, xmb, xtb)
  "targetDir": ""                     // directory where translated files live
}

You can also provide the API token as a environment variable by setting PO_APITOKEN

๐Ÿคœ๐Ÿผ Usage

Pull all translated files from upstream of POEditor.

$ poeditor pull

Push all pre-translated files from downloadstream of targetDir in poeditor-config.json.

$ poeditor push

poeditor-cli's People

Contributors

ov3rk1ll avatar reggionick avatar rlapei avatar terenyeung avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.