<!--
{
  "availability" : [
    "iOS: 15.0.0 - 17.0.0",
    "iPadOS: 15.0.0 - 17.0.0",
    "macCatalyst: 15.0.0 - 17.0.0",
    "macOS: 12.0.0 - 14.0.0",
    "tvOS: 15.0.0 - 17.0.0",
    "visionOS: 1.0.0 - 1.0.0",
    "watchOS: 8.0.0 - 10.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSMorphologyCustomPronoun/requiredKeysForLanguage:",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSMorphologyCustomPronoun(cm)requiredKeysForLanguage:"
  },
  "title" : "requiredKeysForLanguage:"
}
-->

# requiredKeysForLanguage:

Returns a collection of the custom pronoun keys required by this language.

```
+ (NSArray<NSString *> *) requiredKeysForLanguage:(NSString *) language;
```

## Parameters

`language`

The language to create a custom pronoun for.

## Return Value

The keys required for the given language.

## Discussion

If any of the required keys for a given language are unset, calling [`setCustomPronoun:forLanguage:error:`](/documentation/Foundation/NSMorphology/setCustomPronoun:forLanguage:error:) for that language with an incomplete [`NSMorphologyCustomPronoun`](/documentation/Foundation/NSMorphologyCustomPronoun) results in an error.

---

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)