universalviewer
universalviewer copied to clipboard
adding utility to compare language files for missing translations / keys
Following on from a recent pull request:
https://github.com/UniversalViewer/universalviewer/pull/685
I thought I might build a small utility to check if there are any missing or redundant translations. Here is a proof of concept I came up with, I've just continued with the work already in the tasks in configure.js:
Example of the output when running grunt build
https://gist.github.com/404mike/0d36f873fd93728c052f3ed863503a92
Mike
Interesting! I think the plan now is to use TypeScript interfaces to type check configs:
https://github.com/UniversalViewer/universalviewer/projects/9