0.0.1 • Published 8 years ago

pcc-translation-webpack-plugin v0.0.1

Weekly downloads
4
License
-
Repository
-
Last release
8 years ago

How to use

new TranslationPlugin({
      potFile: 'translation/templates.pot',
      json: {
        destination: 'target/web/lang',
        compress: true,
        format: 'mf'
      },
      msginit: {
        languages: languages,
        clearMsgString: true,
        deleteUnsupportedLanguageFiles: false,
        copyCommentsForLang: ['de_DE'],
        files: 'translation/templates.{lang}.po'
      },
      copycomments: {
        forceOverwrite: true,
        files: [
          'translation/templates.de_DE.po'
        ]
      }
    }),