Function: getLocalizedData()
getLocalizedData<
TOpt,Ns,KPrefix>(key:string):LocalizedData
Defined in: projects/plugins/packages/i18next/src/lib/functions.ts:216
Gets the value and the localizations from a language key.
Type Parameters
| Type Parameter | Default type | 
|---|---|
| TOptextendsTOptions | TOptions | 
| NsextendsNamespace | "translation" | 
| KPrefix | undefined | 
Parameters
| Parameter | Type | Description | 
|---|---|---|
| key | string | The key to get the localizations from. | 
Returns
The retrieved data.
Remarks
This should be called strictly after loading the locales.