gulp-xliff-to-carbon-i18n

    2.0.1 • Public • Published

    gulp-xliff-to-carbon-i18n Build Status

    Plugin for gulp to convert XLIFF 1.2 files into JS files for use with Collaborne/carbon-i18n-behavior

    Blog post explaining the plugin

    Installation

    $ npm install --save-dev gulp-xliff-to-carbon-i18n
    

    Usage

    var xliff2js = require('gulp-xliff-to-carbon-i18n');
     
    gulp.task('process-xliff-files', function() {
        gulp.src('**/*.xliff')
            .pipe(xliff2js())
            .pipe(gulp.dest('dist'));
    });

    Options

    useSource: If set to true then the plugin produces output for the source language, otherwise for the target language.

    License

    This software is licensed under the Apache 2 license, quoted below.
    
    Copyright 2011-2015 Collaborne B.V. <http://github.com/Collaborne/>
    
    Licensed under the Apache License, Version 2.0 (the "License"); you may not
    use this file except in compliance with the License. You may obtain a copy of
    the License at
    
        http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
    License for the specific language governing permissions and limitations under
    the License.
    

    Install

    npm i gulp-xliff-to-carbon-i18n

    DownloadsWeekly Downloads

    1

    Version

    2.0.1

    License

    Apache-2.0

    Last publish

    Collaborators

    • ion.bragaru
    • moghaddam01
    • eacet
    • idrissmahjoubi
    • sudhons
    • ronnyroeller
    • collaborne-team
    • ankon