Skip to content
This repository has been archived by the owner on Jul 27, 2024. It is now read-only.

Latest commit

 

History

History
46 lines (31 loc) · 862 Bytes

default_locale.md

File metadata and controls

46 lines (31 loc) · 862 Bytes

Ensure theme has a default locale (DefaultLocale)

This check makes sure the theme has a default translation file.

Check Details

This check makes sure a theme has a default locale.

👎 Example of incorrect theme for this check:

locales/
├── en.json
├── fr.json
└── zh-TW.json

👍 Example of correct theme for this check:

locales/
├── en.default.json  # a default translation file is required
├── fr.json
└── zh-TW.json

Check Options

The default configuration for this check is the following:

DefaultLocale:
  enabled: true

Version

This check has been introduced in Theme Check 0.1.0.

Resources