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 ParameterDefault type
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.

Defined in

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