universalviewer icon indicating copy to clipboard operation
universalviewer copied to clipboard

adding utility to compare language files for missing translations / keys

Open 404mike opened this issue 6 years ago • 1 comments

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

404mike avatar Aug 21 '19 07:08 404mike

Interesting! I think the plan now is to use TypeScript interfaces to type check configs:

https://github.com/UniversalViewer/universalviewer/projects/9

edsilv avatar Sep 03 '20 18:09 edsilv