invalid-resource
A locale file or source file that x18n failed to read, parse or scan.
A locale file or source file that x18n failed to read, parse or scan.
The message ends with the error code, for example (X18N2002). The error page of that code tells you what to do.
Files that x18n cannot parse as locale files are errors. Source files that a scanner cannot parse are warnings. You cannot turn this diagnostic off in checks. To skip a source file, exclude it with usage.exclude.