@masch/ui5-i18n-finder

v0.1.1
Reads your views and finds all the translations that **should** exist.

ui5-i18n-finder

Reads your views and finds all the translations that should exist.

installation

$ npm install @masch/ui5-i18n-finder

example

const Finder = require('./src');
const finder = new Finder('./testdata');
finder.search((keys) => {
    console.log(keys); // prints all used translations keys
});

what it does not do

This lib does not try to read you .properties files to figure out which keys are actually missing. Doing so is a job for another tool which should/could use this library.

TODO

  • make model name configurable
  • proper error reporting
  • support other view types
    • JS Views
    • JSON Views
    • HTML Views
npm i @masch/ui5-i18n-finder

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 6/13/2016

Downloads

Maintainers