Skip to content

Translate

Since v3.5.0

Resolves a namespaced message id to its localized text, falling back to the English string supplied by the call site.

Handed to renderer callbacks (e.g. FilterPanelParams.t) so custom UI can be localized through the same GridConfig.locale map as the built-in chrome.

type Translate = (key: string, fallback: string) => string