Sanity Library Reference Docs
    Preparing search index...

    Interface Locale

    A locale representation

    interface Locale {
        id: string;
        title: string;
        weekInfo: LocaleWeekInfo;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    id: string

    The ID of the locale, eg en-US, nb-NO, th-TH

    title: string

    The title of locale, eg English (US), Norsk (bokmål), ไทย

    weekInfo: LocaleWeekInfo

    Week information for this locale. Based on the Intl.Locale['weekInfo'] type.