New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

grunt-poeditor-rs

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-poeditor-rs

Translation library for po editor

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
increased by66.67%
Maintainers
2
Weekly downloads
 
Created
Source

grunt-poeditor-rs

This is an experimental library for importing po terms and definitions into a simple JSON file. Can also be used from within grunt. The standalone version also supports exporting terms and definitions to POEditor.

If you want to use the standalone scripts, rename constants.js.example to constants.js and change as appropriate. If you want to use the grunt component, you can invoke it like this:

poeditor: {
    download: {
      download: {
        type: 'json',
        dest: 'translations.?.json' // ? will be replaced by a language code
      }
    },
    options: {
        apiToken: 'insert-your-token-here',
        languages: {
          'en-us': 'en',
          'ja': 'ja'
        },
        project: 'your projectID goes here (as a string)'
    }
  }

Parts of the grunt implementation were inspired by work of Philippe Vignau, https://github.com/Philoozushi/grunt-poeditor-pz.

FAQs

Package last updated on 01 Jul 2016

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc