The grid locale text API [[apiRef]].

interface GridLocaleTextApi {
    getLocaleText: (<T>(key: T) => GridLocaleText[T]);
}

Hierarchy (view full)

Properties

Properties

getLocaleText: (<T>(key: T) => GridLocaleText[T])

Returns the translation for the key.

Type declaration