Skip to main content

Function: applyNameLocalizedBuilder()

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

Applies the localized names on the builder, calling setName and setNameLocalizations.

Type Parameters

Type ParameterDefault type
T extends BuilderWithName-
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:234