Function: applyNameLocalizedBuilder()
applyNameLocalizedBuilder<
T,TOpt,Ns,KPrefix>(builder:T,key:string):T
Defined in: projects/plugins/packages/i18next/src/lib/functions.ts:234
Applies the localized names on the builder, calling setName and setNameLocalizations.
Type Parameters
| Type Parameter | Default type |
|---|---|
T extends BuilderWithName | - |
TOpt extends TOptions | TOptions |
Ns extends Namespace | "translation" |
KPrefix | undefined |
Parameters
| Parameter | Type | Description |
|---|---|---|
builder | T | The builder to apply the localizations to. |
key | string | The key to get the localizations from. |
Returns
T
The updated builder.