# getLanguageResources Function

> getLanguageResources function in the Angular package: Returns the resources of an optional language as Readonly<Record<LocalizationKey, string>>.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Function
- **Path:** TX Sheet Control > API Reference > TypeScript API > Angular > getLanguageResources Function
- **313 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/angular/getlanguageresources-function/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/angular/getlanguageresources-function/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/angular/getlanguageresources-function/llms-full.txt

---

Public function for getLanguageResources.

Package: `@txtextcontrol/tx-sheet-control/angular`. Version: **2.0.0**.

ES module import: `import { getLanguageResources } from '@txtextcontrol/tx-sheet-control';`.

### Syntax

```typescript
getLanguageResources(language?: string): Readonly<Record<LocalizationKey, string>>
```

### Parameters

| Parameter | Type | Optional | Description |
|---|---|---|---|
| `language` | `string \| undefined` | Yes | Value matching language's declared type and the owning object's validation rules. |

### Return Value

`Readonly<Record<LocalizationKey, string>>`.

### Examples

Use this public value with the application package shown below. File and font inputs are application-owned resources, not automatically downloaded product data.

```typescript
import { getLanguageResources } from '@txtextcontrol/tx-sheet-control/angular';

const result = getLanguageResources();
console.log(result);
```

### See Also

- [TypeScript Angular API](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/angular/llms-full.txt)
- [Workbooks and Worksheets](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/workbooks/llms-full.txt)

---

## Nearby

- **Previous:** [germanResources Constant](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/angular/germanresources-constant/llms-full.txt)
- **Next:** [getRegisteredLanguages Function](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/angular/getregisteredlanguages-function/llms-full.txt)
