Api Sandbox Language
class

Language

public static abstract sealed class Language

Allows access to translated phrases, allowing the translation of gamemodes etc

Properties

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

Methods

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