# DETECTLANGUAGE Function

> Detect the language of a text with DETECTLANGUAGE in TX Sheet Control: the function needs a formula provider of the application and returns #N/A without one.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Function
- **Path:** TX Sheet Control > API Reference > Formula Functions > DETECTLANGUAGE Function
- **209 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/detectlanguage/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/detectlanguage/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/detectlanguage/llms-full.txt

---

Detect the language of a text. DETECTLANGUAGE requires application data: the language of `text` is supplied by the application through a formula provider, and without one the function returns `#N/A`.

### Syntax

```text
DETECTLANGUAGE(text)
```

Category: Web. Minimum arguments: 1. Maximum arguments: 1.

> Important
>
> **Application Data or Provider Required.** Configure the documented provider rather than expecting automatic network or Excel-service access.

### Examples

```text
=DETECTLANGUAGE("Hello")
```

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

### See Also

- [Formulas](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/llms-full.txt)
- [Custom Functions and Formula Data](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/custom-functions/llms-full.txt)

---

## Nearby

- **Previous:** [DELTA Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/delta/llms-full.txt)
- **Next:** [DEVSQ Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/devsq/llms-full.txt)
