<!--
{
  "availability" : [
    "macOS: 10.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTextFieldCell/allowedInputSourceLocales",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSTextFieldCell(py)allowedInputSourceLocales"
  },
  "title" : "allowedInputSourceLocales"
}
-->

# allowedInputSourceLocales

An array of locale identifiers that represent the allowed input sources when the text field has the keyboard focus.

```
var allowedInputSourceLocales: [String]? { get set }
```

## Discussion

The value of this property is an array of <doc://com.apple.documentation/documentation/Foundation/NSString> objects, each of which contains a locale identifier. You can assign the meta-locale identifier, [`NSAllRomanInputSourcesLocaleIdentifier`](/documentation/AppKit/NSAllRomanInputSourcesLocaleIdentifier), to specify input sources that are limited for Roman script editing.

---

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)