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

# Translate TSV localization files with Hyperlocalise

> Translate key-value TSV files and locale-column tables.

TSV catalogs exchange messages in tab-separated rows and columns. Column structure determines which content Hyperlocalise treats as keys and translation values; use the source layout below before translating an existing spreadsheet export.

Supported extensions: `.tsv`.

## Source file

Save this example as `locales/en-US/messages.tsv`.

```tsv theme={null}
key	value
home.title	Welcome
home.greeting	Hello, {name}!
```

## Configure your files

Use this `i18n.yml` for the example, or add its file mapping to your existing bucket.
See [path templates](/cli/configuration/path-templates) for other layouts.

```yaml theme={null}
locales:
    source: en-US
    targets:
        - es-ES

buckets:
    messages:
        files:
            - from: locales/en-US/messages.tsv
              to: locales/{{target}}/messages.tsv

llm:
    profiles:
        default:
            provider: openai
            model: gpt-5.2
```

## Translate

[Install the CLI](/cli/getting-started/install) and set `OPENAI_API_KEY` in your
project's `.env.local` or shell. You can also configure another
[AI provider](/cli/providers/overview).

```bash theme={null}
hyperlocalise run --dry-run
hyperlocalise run
```

The dry run previews the work. The second command writes translations to the
configured target path and updates the lockfile.

Hyperlocalise Platform native projects also accept `.tsv` uploads for file
translation jobs and segment review. See [Supported formats](/platform/file-formats).

## Behavior and limitations

* The example uses a header row with `key` and `value`. Fields are separated by tabs.

* Locale-column layouts are also supported. Source and target locales select the corresponding columns.

* Existing rows retain their order; newly appended keys are sorted. Quoting and line endings may be normalized.

* This page covers translation files. For `status --output csv`, see [Command output](/cli/reference/output-formats).

## Next steps

* [Check translations](/cli/commands/check) before committing generated files.
* [Local translation workflow](/cli/workflows/local-generation) explains repeat runs.
* [Browse all file formats](/cli/reference/formats/overview).

## Related formats

* [CSV localization](/cli/reference/formats/csv)
* [JSON localization](/cli/reference/formats/json)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.