@bmat/translation-management
TypeScript icon, indicating that this package has built-in type declarations

0.0.6 • Public • Published

Vericast Front-End translation management

This package handles all front-end translations sources, at the moment Preact, Angular and i18next, merging them in a single XLIFF 1.2 file.

Once the translations of the XLIFF 1.2 file is done, the package takes care of splitting the file between resources to minimize the size of the bundles.

Installation

This is a standard Node v8+ package. Just add @bmat/translation-management to package.json.

Testing

Run the command

npm run test

An Jest watch session will launch.

To run the tests once, like in a CI environment, run

npm run test:ci

Coverage data will be saved in the coverage folder.

Build

Run

npm run build

To compile the Typescript files to JavaScript. The destination folder is dist. This folder will be exported when publishing the package.

Package Sidebar

Install

npm i @bmat/translation-management

Weekly Downloads

10

Version

0.0.6

License

ISC

Unpacked Size

145 kB

Total Files

205

Last publish

Collaborators

  • dogmatico