Table of Contents

TSparkleLocaleMiddleware.OnAcceptLocale Event

Event fired for each locale candidate during negotiation.

Remarks

Use this event to filter locales or replace them with alternatives. For example, you can reject unsupported locales or map regional variants to a base locale.

Syntax

Unit: Sparkle.Comp.LocaleMiddleware

property TSparkleLocaleMiddleware.OnAcceptLocale: TLocaleAcceptEvent

See also