---
title: allowedInputSourceLocales
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstextfieldcell/allowedinputsourcelocales
---

# allowedInputSourceLocales

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

## Declaration

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

## Discussion

Discussion The value of this property is an array of NSString objects, each of which contains a locale identifier. You can assign the meta-locale identifier, NSAllRomanInputSourcesLocaleIdentifier, to specify input sources that are limited for Roman script editing.
