Get the Newsletter

getFixedT

A Method

getFixedT(lng: any, ns?: any): TFunction

Returns a t function that defaults to given language or namespace. Both params could be arrays of languages or namespaces and will be treated as fallbacks in that case. On the returned function you can like in the t function override the languages or namespaces by passing them in options or by prepending namespace.

Parameters

lng: any
ns?: any