LanguageContainerclass

A container for the current language, allowing access to translated phrases and language information.

objectLanguageContainer
Namespace
Sandbox
Assembly
Sandbox.Engine
Declaration
public class Sandbox.LanguageContainer

Methods1

Showing 1 methods

public string GetPhrase(string textToken, System.Collections.Generic.Dictionary`2<string,object> data = null)PUBLIC

ParameterTypeDescription
textTokenstring
data = nullDictionary<string,object>
Returns:string

Properties2

Showing 2 properties

public string Sandbox.LanguageContainer.SelectedCode { get; set; }PUBLICGETSET

The abbreviation for the language the user wants. This is set by the user in the options menu.

Returns:string

On this page