applyLocalizedBuilder<Defined in: packages/http-framework-i18n/src/lib/utils.ts:89 Applies the localized names and descriptions on the builder, calling applyNameLocalizedBuilder and applyDescriptionLocalizedBuilder.T>(builder, …params):T
Type Parameters
T
T extends BuilderWithNameAndDescription
Parameters
builder
T
The builder to apply the localizations to.
params
[`${string}:${string}`] | [`${string}:${string}`, `${string}:${string}`]
The root key or the key for the name and description keys.
Returns
T
The updated builder.
Remarks
If only 2 parameters were passed,name will be defined as ${root}Name and description as
${root}Description, being root the second parameter in the function, after builder.