@masch/ui5-i18n-finder

0.1.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @masch/ui5-i18n-finder

Weekly Downloads

1

Version

0.1.1

License

MIT

Last publish

Collaborators

  • masch