> ## Documentation Index
> Fetch the complete documentation index at: https://dotnetdocs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GlobalLanguageConfig

> Represents a language configuration for global navigation in the Mintlify documentation site.

## Definition

**Assembly:** Mintlify.Core.dll

**Namespace:** Mintlify.Core.Models

**Inheritance:** System.Object

## Syntax

```csharp theme={"dark"}
Mintlify.Core.Models.GlobalLanguageConfig
```

## Summary

Represents a language configuration for global navigation in the Mintlify documentation site.

## Remarks

This configuration defines a language option that appears globally across all sections
and pages, allowing users to switch between different language versions of the documentation.

## Constructors

### <Icon icon="hammer" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> .ctor

#### Syntax

```csharp theme={"dark"}
public GlobalLanguageConfig()
```

### <Icon icon="hammer" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> .ctor <Badge color="gray">Inherited</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public Object()
```

## Properties

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Default

Gets or sets whether this language is the default language for the documentation.

#### Syntax

```csharp theme={"dark"}
public System.Nullable<bool> Default { get; set; }
```

#### Property Value

Type: `System.Nullable<bool>`

#### Remarks

When true, this language will be selected by default when users first visit
the documentation. Only one language should be marked as default.

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Hidden

Gets or sets whether this language option is hidden by default.

#### Syntax

```csharp theme={"dark"}
public System.Nullable<bool> Hidden { get; set; }
```

#### Property Value

Type: `System.Nullable<bool>`

#### Remarks

When true, this language option will not be visible in the language selector
unless specifically shown. This can be useful for languages that are in development
or not ready for public access.

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Href

Gets or sets the URL or path for this language version.

#### Syntax

```csharp theme={"dark"}
public string Href { get; set; }
```

#### Property Value

Type: `string?`

#### Remarks

Specifies where users should be directed when they select this language.
Can be a relative path (e.g., "/es/") or an absolute URL for a different domain
(e.g., "[https://es.example.com/](https://es.example.com/)").

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Language

Gets or sets the language code in ISO 639-1 format.

#### Syntax

```csharp theme={"dark"}
public string Language { get; set; }
```

#### Property Value

Type: `string`

#### Remarks

Specifies the language using a standard two-letter code such as "en" for English,
"es" for Spanish, "fr" for French, etc. Extended codes like "zh-Hans" for Simplified
Chinese or "fr-CA" for Canadian French are also supported. This is a required field.

## Methods

### <Icon icon="code-fork" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Equals <Badge color="gray">Inherited</Badge> <Badge color="orange">Virtual</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public virtual bool Equals(object obj)
```

#### Parameters

| Name  | Type      | Description |
| ----- | --------- | ----------- |
| `obj` | `object?` | -           |

#### Returns

Type: `bool`

### <Icon icon="thumbtack" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Equals <Badge color="gray">Inherited</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public static bool Equals(object objA, object objB)
```

#### Parameters

| Name   | Type      | Description |
| ------ | --------- | ----------- |
| `objA` | `object?` | -           |
| `objB` | `object?` | -           |

#### Returns

Type: `bool`

### <Icon icon="code-fork" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> GetHashCode <Badge color="gray">Inherited</Badge> <Badge color="orange">Virtual</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public virtual int GetHashCode()
```

#### Returns

Type: `int`

### <Icon icon="function" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> GetType <Badge color="gray">Inherited</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public System.Type GetType()
```

#### Returns

Type: `System.Type`

### <Icon icon="function" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> MemberwiseClone <Badge color="gray">Inherited</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
protected internal object MemberwiseClone()
```

#### Returns

Type: `object`

### <Icon icon="thumbtack" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> ReferenceEquals <Badge color="gray">Inherited</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public static bool ReferenceEquals(object objA, object objB)
```

#### Parameters

| Name   | Type      | Description |
| ------ | --------- | ----------- |
| `objA` | `object?` | -           |
| `objB` | `object?` | -           |

#### Returns

Type: `bool`

### <Icon icon="code-fork" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> ToString <Badge color="gray">Inherited</Badge> <Badge color="orange">Virtual</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public virtual string ToString()
```

#### Returns

Type: `string?`
