Language Translation.
    public class Translation : Resource

Translations are resources that can be loaded/unloaded on demand. They map a string to another string.

Inheritance Chain

Derived Classes


    public Translation()


    public string Locale { get; set; }

    public string[] Messages { get; set; }


    public void AddMessage(string srcMessage, string xlatedMessage)

Add a message for translation.

    public void EraseMessage(string srcMessage)

Erase a message.

    public string GetLocale()

Getter for Locale

    public string GetMessage(string srcMessage)

Return a message for translation.

    public int GetMessageCount()

    public string[] GetMessageList()

Return all the messages (keys).

    public void SetLocale(string locale)

Setter for Locale