EU Parliament Monitor — API Documentation - v0.8.59
    Preparing search index...

    Interface HtmlLangPatchOptions

    Parameters for the HTML language patch operation.

    interface HtmlLangPatchOptions {
        lang: string;
        langDir: "ltr" | "rtl";
        ogLocale: string;
        enBasename: string;
        langBasename: string;
    }
    Index

    Properties

    lang: string

    BCP-47 language tag for the target locale, e.g. "de", "fr".

    langDir: "ltr" | "rtl"

    Text direction for the target locale: "ltr" or "rtl".

    ogLocale: string

    Open Graph locale string, e.g. "de_DE", "ar_AR".

    enBasename: string

    Basename of the source English HTML file, e.g. "2025-01-01-breaking.html".

    langBasename: string

    Basename of the target language HTML file, e.g. "2025-01-01-breaking-de.html".