Contentful Personalization & Analytics
    Preparing search index...

    Interface ResolveContentfulLocaleOptions

    Options for resolving a Contentful locale from runtime or request candidates.

    interface ResolveContentfulLocaleOptions {
        candidates?: readonly (string | null | undefined)[];
        contentfulLocales?: ContentfulLocales;
        locale?: string;
    }
    Index

    Properties

    candidates?: readonly (string | null | undefined)[]

    Runtime, device, route, or request locale candidates.

    contentfulLocales?: ContentfulLocales

    Contentful locale configuration supplied by the consumer.

    locale?: string

    Explicit app/content locale candidate.