hammerspoon2-docs
    Preparing search index...

    Function supportedLanguages

    • All language codes supported by the on-device translation engine. Resolves to an array of BCP-47 identifiers (e.g. ["ar", "de", "en", "es", "fr"]). This covers every language the framework knows about, regardless of whether the packs are installed locally. Use status() to distinguish installed pairs from merely supported ones.

      Returns Promise<string[]>

      Resolves to an array of BCP-47 language code strings.