> ## 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: getLocalizedData()

> **getLocalizedData**(`key`): [`LocalizedData`](/documentation/api/http-framework-i18n/interfaces/LocalizedData)

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

Gets the value and the localizations from a language key.

## Parameters

### key

`` `${string}:${string}` ``

The key to get the localizations from.

## Returns

[`LocalizedData`](/documentation/api/http-framework-i18n/interfaces/LocalizedData)

The retrieved data.

## Remarks

This should be called **strictly** after loading the locales.
