# Text Line Provider

Text Line Provider is a Line Provider that fetches localized text for a line of dialogue, given the user's language.

{% hint style="info" %}
Use this Line Provider if you are using the [Built-In Localisation](/2.3/using-yarnspinner-with-unity/assets-and-localization/inbuilt-localisation.md) system. If you are using the [Unity Localisation](/2.3/using-yarnspinner-with-unity/assets-and-localization/unity-localization.md) system, use the [Unity Localised Line Provider](/2.3/using-yarnspinner-with-unity/components/line-provider/unity-localised-line-provider.md) instead.
{% endhint %}

![A Text Line Provider](/files/SAAMkfeLpxMoY7ZVgs0C)

### Inspector

| Property           | Description                                                                      |
| ------------------ | -------------------------------------------------------------------------------- |
| Text Language Code | The language that the Text Line Provider should use to fetch localised text for. |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.yarnspinner.dev/2.3/using-yarnspinner-with-unity/components/line-provider/text-line-provider.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
