Table of Contents

TLocaleMiddleware.OnAcceptLocale Property

Callback invoked for each locale candidate during negotiation.

Remarks

Use this callback 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.Middleware.Locale

property TLocaleMiddleware.OnAcceptLocale: TAcceptLocaleProc

See also