GlobalLanguageConfig

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

Syntax

public class GlobalLanguageConfig

Inheritance

Properties

Default

[JsonPropertyName("default")]
public bool? Default { get; set; }
Gets or sets whether this language is the default language for the documentation.

Returns

bool?

Hidden

[JsonPropertyName("hidden")]
public bool? Hidden { get; set; }
Gets or sets whether this language option is hidden by default.

Returns

bool?

Href

[JsonPropertyName("href")]
public string Href { get; set; }
Gets or sets the URL or path for this language version.

Returns

string

Language

[JsonPropertyName("language")]
public string Language { get; set; }
Gets or sets the language code in ISO 639-1 format.

Returns

string

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.