Skip to main content
Version: Next

Locale

locale

Gets the localization context. If the context originates from the event worker context, the returned t function is not bound to the command.

Signature
function locale(locale?: Locale): CommandLocalizationContext

Parameters

locale

parameter
Locale