Giter VIP home page Giter VIP logo

angular-gettext-cli's Introduction

angular-gettext-cli Build Status

A command line interface for angular-gettext-tools

Installation

npm install angular-gettext-cli -g for global using or npm install angular-gettext-cli --save-dev for local.

Extraction:

angular-gettext-cli --files "./app/*.+(js|html)" --dest ./extract.pot --marker-name i18n

Parameters:

  • --files - a glob pattern to specify files to process
  • --dest - path to file to write extracted words.
  • --marker-name - a name of marker to search in js-files (see angular-gettext-tools)

Compilation:

angular-gettext-cli --compile --files 'test/*.po' --dest test/output.js --format javascript --module gettext-test

Parameters:

  • --files - a glob pattern to specify files to process
  • --dest - path to file to write extracted words.
  • --format - javascript or json
  • --module - For the javascript output format, the angular module name to use in the output file.

For more options, see angular-gettext-tools.

angular-gettext-cli's People

Watchers

 avatar  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.