API ReferenceSandbox.Localization

LanguageInformationclass

objectLanguageInformation
Namespace
Sandbox.Localization
Assembly
Sandbox.System
Declaration
public class Sandbox.Localization.LanguageInformation

Constructors1

Showing 1 constructors

public LanguageInformation(string title, string abbreviation, string parent = null, bool rightToLeft = False)PUBLICCONSTRUCTOR

ParameterTypeDescription
titlestring
abbreviationstring
parent = nullstring
rightToLeft = Falsebool

Properties4

Showing 4 properties

public string Sandbox.Localization.LanguageInformation.Abbreviation { get; set; }PUBLICGETSET

ISO 639-1 code of the language, with optional ISO 3166-1 alpha-2 country specifiers. (for example "en-GB" for British English)

Returns:string

public string Sandbox.Localization.LanguageInformation.Parent { get; set; }PUBLICGETSET

If set, the `Sandbox.Localization.LanguageInformation.Abbreviation` of the parent language. For example, Pirate English is based on English.

Returns:string

public bool Sandbox.Localization.LanguageInformation.RightToLeft { get; set; }PUBLICGETSET

Whether the language is typed right to left, such as the Arabic language.

Returns:bool

public string Sandbox.Localization.LanguageInformation.Title { get; set; }PUBLICGETSET

Title of the localization language.

Returns:string

On this page