Function: fetchT()
fetchT(
target
:Target
):Promise
<TFunctionNonStrict
<"translation"
,undefined
>>
Retrieves the language-assigned function from i18next designated to a target's preferred language code.
Parameters
Parameter | Type | Description |
---|---|---|
target | Target | The target to fetch the language from. |
Returns
Promise
<TFunctionNonStrict
<"translation"
, undefined
>>
The language function from i18next.
Since
2.0.0