TTMSFNCLocalizationLocalizer.RescanLanguages Method
Scans the translation folder again and reloads the list of available languages.
API unit family: TMS.TMSFNCLocalizationLocalizer
Declaring type: TTMSFNCLocalizationLocalizer
Syntax
function RescanLanguages: Integer;
int __fastcall RescanLanguages();
Remarks
The translation folder is read once, when the component is loaded. Call this method after LocalizationFolder was changed in code to apply the new folder, or after language files were added to, changed in or removed from the folder while the application runs. The active language stays selected when it is still available; otherwise the default language becomes active. Files that could not be used are listed in LanguageFileIssues.
Returns
The number of languages found.