hammerspoon2-docs
    Preparing search index...

    Function localizedName

    • Returns the localized display name for a locale identifier.

      Parameters

      • localeCode: string

        The locale identifier to look up (e.g. "de_CH"). Must be one

      • OptionalbaseLocaleCode: string | null

        The locale to display the name in. If omitted, the user's

      Returns Record<string, string> | null

      A dictionary with name (e.g. "German") and nameWithDialect