DefaultLocale
Makes sure that the theme has a default locale file.
The following examples contain code snippets that either fail or pass this check.
The following is an example of an incorrect directory structure for this check:
The following is an example of a correct directory structure for this check. In this check, the en
locale file has default
in the title.
Auto-correction
Anchor link to section titled "Auto-correction"Theme Check can correct this error using the --auto-correct
flag. When the flag is specified, Theme Check creates an empty en.default.json
in the locales
directory.
Disabling this check
Anchor link to section titled "Disabling this check"This check is safe to disable.