hammerspoon2-docs
    Preparing search index...

    Function supportedLanguages

    • Returns the BCP-47 language codes supported by the Vision text recognizer on this device. The set of languages varies between macOS versions and hardware. Call this at runtime to discover which codes are valid for the languages option passed to recognizeText().

      Returns string[]

      An array of BCP-47 language code strings (e.g. ["en-US", "fr-FR"]).