Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Constructor: LanguageHelperWpf<TTranslation>(string, string, bool, TranslationWindow.Settings, ImageSource, Func<Language>)

Declaration

public LanguageHelperWpf<TTranslation>(
    string programTitle,
    string moduleName,
    bool editable,
    TranslationWindow.Settings settings,
    ImageSource icon,
    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.
TranslationWindow.SettingssettingsTranslation window settings, such as window position/size.
ImageSourceiconThe icon to use on the translation window.
Func<Language>getCurrentLanguageA callback that returns the currently active language whenever called.