- Declared in: RT.Lingo.Lingo
Declaration
public static TTranslation LoadTranslation<TTranslation>(
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.
Generic type parameters
TTranslation | The type of the translation class to load the translation into. |
Parameters
string | module | The name of the module whose translation to load. |
Language | language | The language code of the language to load. |
Returns
The loaded translation.