Skip to main content
Table of Contents

TTMSFNCLocalizationLocalizer.TrySetLocale Method

Activates the language for the given locale.

API unit family: TMS.TMSFNCLocalizationLocalizer Declaring type: TTMSFNCLocalizationLocalizer

Syntax

TMS.TMSFNCLocalizationLocalizer.hppPascalC++
function TrySetLocale(ALocale: string): Boolean;
bool __fastcall TrySetLocale(System::UnicodeString ALocale);

Parameters

Name Description
ALocale Locale identifier of the language to activate.

Returns

when a translation for the locale exists and was activated; when no translation is available for that locale.