# GetPluralRule(string)

> Gets the pluralization rule for the specified language code.

## Definition

* **Type:** Method
* **Namespace:** [Unity.SmartStrings.Utilities](/engine/6000.7/script-reference/unity/smartstrings/utilities.md)
* **Assembly:** UnityEngine.SmartStringsModule

```csharp
public static PluralRules.PluralRuleDelegate GetPluralRule(string twoLetterIsoLanguageName)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The language code in two-letter ISO-639 format.

### Returns

| Type                                                                                                                 | Description                                                                                                                                                                                   |
| -------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [PluralRuleDelegate](/engine/6000.7/script-reference/unity/smartstrings/utilities/pluralrules/pluralruledelegate.md) | The [PluralRules.PluralRuleDelegate](/engine/6000.7/script-reference/unity/smartstrings/utilities/pluralrules/pluralruledelegate.md) that selects the plural form for the specified language. |

### Remarks

The pluralization rules are taken from [http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language\_plural\_rules.html](http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html)
