Options
All
  • Public
  • Public/Protected
  • All
Menu

Module next-server/lib/i18n/detect-domain-locale

Index

Functions

Functions

detectDomainLocale

  • detectDomainLocale(domainItems: { defaultLocale: string; domain: string; http?: boolean; locales?: string[] }[] | undefined, hostname?: string, detectedLocale?: string): { defaultLocale: string; domain: string; http?: boolean; locales?: string[] } | undefined
  • Parameters

    • domainItems: { defaultLocale: string; domain: string; http?: boolean; locales?: string[] }[] | undefined
    • Optional hostname: string
    • Optional detectedLocale: string

    Returns { defaultLocale: string; domain: string; http?: boolean; locales?: string[] } | undefined

Generated using TypeDoc