Socket
Book a DemoInstallSign in
Socket

gulp-pottopo

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-pottopo

Gulp plugin to generate a default PO translation from GNU Gettext POT files

1.0.1
latest
Source
npmnpm
Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

gulp-pottopo

Generate a default PO translation from GNU Gettext POT files.

Install

Install with npm

npm install gulp-pottopo --save-dev

Example

var gulp = require('gulp');
var pottopo = require('gulp-pottopo');

gulp.task('pottopo', function () {
    return gulp.src('languages/*.pot', {base: '.'})
        .pipe(pottopo({
            // optional parameters
        }))
        .pipe(gulp.dest('.'));
});

The output file will be renamed to [Filename without extension][Separator option][Language option].po, meaning translation.pot with default language becomes translation-en_US.po.

Options

  • language: Language code for the generated file. Default: en_US.
  • separator: Character that separates the filename from the language code. Default: -.

Keywords

gulpplugin

FAQs

Package last updated on 26 May 2018

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.