Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Constructor: LanguageHelper<TTranslation>(string, string, bool, Func<Language>)

Declaration

public LanguageHelper<TTranslation>(
    string programTitle,
    string moduleName,
    bool editable,
    Func<Language> getCurrentLanguage
)

Summary

Constructor.

Parameters

stringprogramTitleThe title of the program - to be displayed in the translation UI.
stringmoduleNameName of the module being translated - used to construct the filename for the translation file.
booleditableWhether translation editing UI should be included.
Func<Language>getCurrentLanguageA callback that returns the currently active language whenever called.