---
title: "requiredKeysForLanguage:"
framework: foundation
role: symbol
role_heading: Type Method
path: "foundation/nsmorphologycustompronoun/requiredkeysforlanguage:"
---

# requiredKeysForLanguage:

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

## Declaration

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

## Parameters

- `language`: The language to create a custom pronoun for.

## Return Value

Return Value The keys required for the given language.

## Discussion

Discussion If any of the required keys for a given language are unset, calling setCustomPronoun:forLanguage:error: for that language with an incomplete NSMorphologyCustomPronoun results in an error.

## See Also

### Assessing Custom Pronoun Support

- [isSupportedForLanguage:](foundation/nsmorphologycustompronoun/issupportedforlanguage:.md)
