Skip to main content

LoadDefaultMessages

Usage​

  • Called when the localization for a plugin should be registered
  • No return behavior

Examples​

protected override void LoadDefaultMessages()
{
lang.RegisterMessages(new Dictionary<string, string>
{
["AnExample"] = "This is an example message!",
["AnotherExample"] = "Here is another example"
}, this);
}