Skip to main content

Function: applyDescriptionLocalizedBuilder()

applyDescriptionLocalizedBuilder<T, TOpt, Ns, KPrefix>(builder: T, key: string): T

Applies the localized descriptions on the builder, calling setDescription and setDescriptionLocalizations.

Type parameters

Type parameterValue
T extends BuilderWithDescription-
TOpt extends TOptionsTOptions
Ns extends Namespace"translation"
KPrefixundefined

Parameters

ParameterTypeDescription
builderTThe builder to apply the localizations to.
keystringThe key to get the localizations from.

Returns

T

The updated builder.

Source

projects/plugins/packages/i18next/src/lib/functions.ts:250