getDetectedRequestLanguage()

Overview

public query function getDetectedRequestLanguage(
      required string localeSlug
)

Returns a query record for the detected language for this request.

Arguments

NameTypeRequiredDescription
localeSlugstringYeslocale detected in URL