Skip to main content
Version: Next

FetchT

fetchT

Fetches the translation function for the given locale and namespace.

Signature
function fetchT(lng: string | string[], ns?: string | null, keyPrefix?: string): TFunction

Parameters

lng

parameter
string | string[]

ns

parameter
string | null

keyPrefix

parameter
string