Skip to content

API Function t

github-actions[bot] edited this page Nov 27, 2026 · 1 revision

Function: t()

function t(key, args?): string;

Defined in: src/engine/localisation/t.ts:22

The message of key in the current language, with args (as Locale.t); in a UI component, it follows language changes.

Parameters

key

string

args?

Readonly<Record<string, MessageArg>>

Returns

string

Clone this wiki locally