API ReferenceSandbox
public class Sandbox.LanguageContainer
A container for the current language, allowing access to translated phrases and language information.
Methods
Showing 1 methods
public string GetPhrase(string textToken, System.Collections.Generic.Dictionary`2<string,object> data = null)
Parameters
data: Default: null
No results match this filter.
Properties
Showing 2 properties
public Sandbox.Localization.LanguageInformation Sandbox.LanguageContainer.Current { get; set; }
Information about the current selected language. Will default to English if the current language isn't found.
public string Sandbox.LanguageContainer.SelectedCode { get; set; }
The abbreviation for the language the user wants. This is set by the user in the options menu.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.LanguageContainer |