Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: TranslationBase LoadTranslation(Type, string, Language)

  • Declared in: RT.Lingo.Lingo

Declaration

public static TranslationBase LoadTranslation(
    Type translationType,
    string module,
    Language language
)

Summary

Loads and returns the translation for the specified module and language. The translation must exist in the application executable directory under a subdirectory called "Translations". If the translation cannot be loaded successfully, an exception is thrown.

Parameters

TypetranslationTypeThe type of the translation class to load the translation into.
stringmoduleThe name of the module whose translation to load.
LanguagelanguageThe language code of the language to load.

Returns

The loaded translation.