<!--
{
  "availability" : [
    "macOS: 10.6.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTextInputContext/localizedName(forInputSource:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSTextInputContext(cm)localizedNameForInputSource:"
  },
  "title" : "localizedName(forInputSource:)"
}
-->

# localizedName(forInputSource:)

Returns the display name for the given text input source identifier.

```
class func localizedName(forInputSource inputSourceIdentifier: NSTextInputSourceIdentifier) -> String?
```

## Parameters

`inputSourceIdentifier`

The text input source identifier.

## Return Value

The localized display name for `inputSourceIdentifier`.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)