> ## Documentation Index
> Fetch the complete documentation index at: https://docs.borntocraftstudio.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Player Language Fact

> Check current language.

The **Player Language Fact** returns the player's current language ID.

## Configuration

<ResponseField name="compareTo" type="String">
  Optional. If set, returns `1` if the player's language matches this value, and `0` otherwise.
</ResponseField>

<CodeGroup>
  ```yaml Usage theme={null}
  condition:
    type: fact_condition
    fact: player_language_fact
    field: compareTo
    value: "fr_FR"
    operator: EQUALS
    match: 1
  ```
</CodeGroup>
