Declaration
public LanguageHelperWpf<TTranslation>(
string programTitle,
string moduleName,
bool editable,
TranslationWindow.Settings settings,
ImageSource icon,
Func<Language> getCurrentLanguage
)
Summary
Constructor.
Parameters
string | programTitle | The title of the program - to be displayed in the translation UI. |
string | moduleName | Name of the module being translated - used to construct the filename for the translation file. |
bool | editable | Whether translation editing UI should be included. |
TranslationWindow.Settings | settings | Translation window settings, such as window position/size. |
ImageSource | icon | The icon to use on the translation window. |
Func<Language> | getCurrentLanguage | A callback that returns the currently active language whenever called. |