Table of Contents

TTMSFNCLocalizationLocalizer.TrySetLocale Method

Activates the language for the given locale.

API unit family: TMS.TMSFNCLocalizationLocalizer Declaring type: TTMSFNCLocalizationLocalizer

Syntax

function TrySetLocale(ALocale: string): Boolean;

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.