Reference
detectLocale
Detects the request locale from the URL path or Accept-Language header.
Signature
function detectLocale<Locale>(request: Request, options: LocaleRoutingOptions<Locale>): DetectedLocale<Locale>Reference
Detects the request locale from the URL path or Accept-Language header.
function detectLocale<Locale>(request: Request, options: LocaleRoutingOptions<Locale>): DetectedLocale<Locale>