> For the complete documentation index, see [llms.txt](https://tgiann.gitbook.io/tgiann/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tgiann.gitbook.io/tgiann/scripts/tgiann-npc-guide/language-file.md). Agents can also search and read this documentation through its [MCP server](https://tgiann.gitbook.io/tgiann/~gitbook/mcp).

# Language File

This is only the English language block (`config.langs.en`). See [How to Change the Language File](https://tgiann.gitbook.io/tgiann/main/how-to-change-the-language-file.md) if you want to translate the script.

The NPC lines and stories are not in this file. They live in `configs/config.lua` and `configs/configTips.lua` as language tables (`{ tr = "...", en = "..." }`), so you translate them there.

## language file

```lua
config.langs.en = {
    TEXT_TALK           = "Talk to %s",
    NOTIF_NO_DATA       = "The old man cannot talk right now.",
    LEARN_OK            = "The old man told you something.",
    VOICES_LISTED       = "%d TTS voice(s) found, list is in the F8 console.",
    COMMAND_DESC_RESET  = "Debug: clears a player's cooldown",
    COMMAND_PARAM_NPC   = "NPC id (leave empty for all)",
    COMMAND_PARAM_TARGET = "Player id (leave empty for yourself)",
    RESET_ONE           = "Cooldown cleared for %s.",
    RESET_ALL           = "Cooldown cleared for %d NPC(s).",
    RESET_TARGET        = "Your cooldowns were cleared, you can talk again.",
    RESET_UNKNOWN_NPC   = "No such NPC: %s",
    RESET_FAILED        = "Could not clear the cooldown.",
    COMMAND_DESC_VOICES = "Debug: lists the browser TTS voices",

    -- UI
    UI_BTN_TELL         = "Tell me something",
    UI_BTN_MEMORIES     = "What you remember",
    UI_BTN_BYE          = "Goodbye",
    UI_BTN_SKIP         = "Skip",
    UI_TELL_COOLDOWN    = "Ask again in {0}",
    UI_TELL_EMPTY       = "Nothing left to tell",
    UI_MEMORIES_TITLE   = "What you remember",
    UI_MEMORIES_PROGRESS = "{0} / {1}",
    UI_MEMORIES_HINT    = "Click one and I will tell it again.",
    UI_MEMORIES_EMPTY   = "I have not told you anything yet, kid.",
    UI_MEMORY_LOCKED    = "???",
    UI_MEMORY_REPLAY    = "Tell again",
    UI_TTS_ON           = "Mute voice",
    UI_TTS_OFF          = "Unmute voice",
    UI_TIME_H           = "h",
    UI_TIME_M           = "min",
    UI_TIME_S           = "s",
}
```
