> ## Documentation Index
> Fetch the complete documentation index at: https://stars-components.js.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Function: applyLocalizedBuilder()

> **applyLocalizedBuilder**\<`T`>(`builder`, ...`params`): `T`

Defined in: [packages/http-framework-i18n/src/lib/utils.ts:89](https://github.com/wolfstar-project/stars-components/blob/5aefd164bc5fc41e5a35d3abf908c288163dd354/packages/http-framework-i18n/src/lib/utils.ts#L89)

Applies the localized names and descriptions on the builder, calling [applyNameLocalizedBuilder](/documentation/api/http-framework-i18n/functions/applyNameLocalizedBuilder) and
[applyDescriptionLocalizedBuilder](/documentation/api/http-framework-i18n/functions/applyDescriptionLocalizedBuilder).

## Type Parameters

### T

`T` *extends* [`BuilderWithNameAndDescription`](/documentation/api/http-framework-i18n/type-aliases/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`.
