Closed odan closed 5 years ago
How do you create these json files?
messages
should exist always.
These are JSON files that must not be analyzed, because I have to use the datatables.net component-specific translation files. Example: https://cdn.datatables.net/plug-ins/1.10.19/i18n/English.json
For plain json files, use the JsonDictionary extractor.
Well, that's not what I'm trying to achieve. I don't want to find messages in this JSON files. The content of these files is static and only necessary for for the datatables.net component.
Sorry but now I'm confused. What do you need?
I have Json files that are not intended for translation. The file extension is .json
, but these files should be ignored if the content is not valid for the translation parser. I found a workaround for this issue. Thank you for your attention.
I have some other json files without a "messages" element. This will print a lot of warnings if I parse my files:
I think a simple "empty" check would solve that issue: