# applyRenderLocale

> Returns a copy of config with constructionLabels.labels, legend.labels, tooltipLabels, labels.typeLabels, labels.continuation.prefix, columnHeaders.labels and overlap.label resolved from RENDERLABELS for locale. Every other field of config is preserved unchanged.

> **applyRenderLocale**(`config`, `locale`): [`RenderConfig`](/render/api/type-aliases/RenderConfig)

Returns a copy of `config` with `constructionLabels.labels`, `legend.labels`,
`tooltipLabels`, `labels.typeLabels`, `labels.continuation.prefix`,
`columnHeaders.labels` and `overlap.label` resolved from `RENDER_LABELS`
for `locale`. Every other field of `config` is preserved unchanged.

## Parameters

### config

[`RenderConfig`](/render/api/type-aliases/RenderConfig)

### locale

`"en"` \| `"pt"`

## Returns

[`RenderConfig`](/render/api/type-aliases/RenderConfig)
