# getVocabLabel

> Display label of value in locale. Free-text and x- values have no entry and are returned as-is.

> **getVocabLabel**(`vocab`, `value`, `locale`): `string`

Display label of `value` in `locale`. Free-text and `x-` values have no
entry and are returned as-is.

## Parameters

### vocab

readonly [`VocabEntry`](/core/api/type-aliases/VocabEntry)\<`string`\>[]

### value

`string`

### locale

`string`

## Returns

`string`
