class Language

in global :: Sandbox

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


public static string SelectedCode { get; }

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

public static LanguageInformation Current { get; }

Information about the current selected language. Will default to English if the current language isn't found.

public static string GetPhrase( string textToken )

Lookup a phrase

  • textToken The token used to identify the phrase
  • Returns If found will return the phrase, else will return the token itself

public static string GetPhrase( string textToken, Dictionary<string,object> data )

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.