Api Sandbox LanguageContainer
class

LanguageContainer

public class LanguageContainer

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

Properties

Name Type Description
SelectedCode String The abbreviation for the language the user wants. This is set by the user in the options menu.
Current LanguageInformation Information about the current selected language. Will default to English if the current language isn't found.

Methods

String GetPhrase(String textToken, Dictionary<String, Object> data = null)
Assembly: Sandbox.Engine Namespace: Sandbox Full Name: Sandbox.LanguageContainer