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#689404mike wants to merge 1 commit intoUniversalViewer:masterfrom 404mike:validatel10files
404mike wants to merge 1 commit intoUniversalViewer:masterfrom
404mike:validatel10files
Conversation
Member
|
Interesting! I think the plan now is to use TypeScript interfaces to type check configs: https://github.com/UniversalViewer/universalviewer/projects/9 |
demiankatz
requested changes
Mar 26, 2025
Contributor
Author
|
No need for this now. Thank you @demiankatz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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