Declaration
public LanguageHelper<TTranslation>(
string programTitle,
string moduleName,
bool editable,
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. |
Func<Language> | getCurrentLanguage | A callback that returns the currently active language whenever called. |