Skip to content

adding utility to compare language files for missing translations / keys#689

Closed
404mike wants to merge 1 commit intoUniversalViewer:masterfrom
404mike:validatel10files
Closed

adding utility to compare language files for missing translations / keys#689
404mike wants to merge 1 commit intoUniversalViewer:masterfrom
404mike:validatel10files

Conversation

@404mike
Copy link
Copy Markdown
Contributor

@404mike 404mike commented Aug 21, 2019

Following on from a recent pull request:

#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

@edsilv
Copy link
Copy Markdown
Member

edsilv commented Sep 3, 2020

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

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

Copy link
Copy Markdown
Contributor

@demiankatz demiankatz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@404mike, I noticed this very old PR which seems to be quite similar to the work we recently merged in #1336. Is there anything here worth saving, or should we close this one?

@404mike 404mike closed this Mar 26, 2025
@404mike
Copy link
Copy Markdown
Contributor Author

404mike commented Mar 26, 2025

No need for this now. Thank you @demiankatz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants