MAIDR JavaScript API
    Preparing search index...

    Function resolveLocale

    • Picks the locale a language preference means.

      auto follows the first browser language MAIDR supports, matched on its primary subtag so ko-KR finds Korean. When none match, English.

      Parameters

      Returns Locale

      The locale to speak