Skip to content

BeechCMS


BeechCMS / @beechcms/core / LocaleConfig

Interface: LocaleConfig ​

Project-level language configuration. Invariant (guaranteed by its producer): locales is non-empty, every entry matches LOCALE_CODE_RE, and it contains defaultLocale.

Properties ​

defaultLocale ​

readonly defaultLocale: string


locales ​

readonly locales: readonly string[]