# LanguageExtensionMethods class

Namespace: [Grasshopper2.Types.Linguistic](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.types.linguistic.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public static class LanguageExtensionMethods
```

Utility class for language and language family and language region logic.

## Properties

- [LinguisticFamilies](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.linguistic.languageextensionmethods/linguisticfamilies.md): (static) Enumerate over all linguistic families.
- [LinguisticRegions](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.linguistic.languageextensionmethods/linguisticregions.md): (static) Enumerate over all linguistic geographic regions.

## Methods

- [FindFamily](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.linguistic.languageextensionmethods/findfamily.md): (static) Find the family which contains the given language.
- [FindRegion](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.linguistic.languageextensionmethods/findregion.md): (static) Find the family which contains the given language.
- [Info](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.linguistic.languageextensionmethods/info.md): (static) Create the [CultureInfo](https://learn.microsoft.com/dotnet/api/system.globalization.cultureinfo) object associated with the specified language. Note: there is no culture information for the ordinal language.
- [Languages](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.linguistic.languageextensionmethods/languages.md): (2 overloads, static) Enumerate over all languages which belong to a specific family.
- [StringComparison](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.linguistic.languageextensionmethods/stringcomparison.md): (static) Compare two strings using the language rules.
- [StringEquality](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.linguistic.languageextensionmethods/stringequality.md): (static) Test two strings for equality using the language rules.
- [StringLength](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.linguistic.languageextensionmethods/stringlength.md): (static) Measure the number of final characters in a string. This method will count combining characters as one.
- [StringLowercase](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.linguistic.languageextensionmethods/stringlowercase.md): (static) Lower case a string.
- [StringOrdering](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.linguistic.languageextensionmethods/stringordering.md): (static) Create a sorting map for an array of strings.
- [StringUppercase](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.linguistic.languageextensionmethods/stringuppercase.md): (static) Upper case a string.
- [ToFlag](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.linguistic.languageextensionmethods/toflag.md): (static) Gets the flag icon associated with a particular language. Not every language has a flag, either because it doesn't represent a nation state, or because it overlaps several states with competing flags.
- [ToString](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.linguistic.languageextensionmethods/tostring.md): (static) Create a string descriptor of this language.
