## Multi-language Support

Add translations by configuring languages in `seite.toml` and creating translated content files:

```toml
# seite.toml
[languages.es]
title = "Mi Sitio"              # optional title override
description = "Un sitio web"     # optional description override
```

Then create translated files with a language suffix before `.md`:

```
content/pages/about.md       # English (default) → /about
content/pages/about.es.md    # Spanish            → /es/about
```

- Default language content lives at the root URL (`/about`)
- Other languages get a `/{lang}/` prefix (`/es/about`)
- Items with the same slug across languages are automatically linked as translations
- Per-language RSS feeds, sitemaps with hreflang alternates, and discovery files are generated automatically
- Without `[languages.*]` config, the site is single-language and works as normal

### i18n Template Helpers

Use `{{ lang_prefix }}` to prefix internal links for the current language (empty for default, `"/es"` for Spanish, etc.):

```html
<a href="{{ lang_prefix }}/about">About</a>
```

In `data/nav.yaml` and `data/footer.yaml`, mark external links with `external: true`:

```yaml
- title: Blog
  url: /posts
- title: GitHub
  url: https://github.com/user/repo
  external: true
```

All bundled themes automatically apply `lang_prefix` to internal data file links and open external links in new tabs.

### Translating UI Strings

All UI text in themes uses the `{{ t.key }}` object (search placeholder, pagination, 404 text, etc.). Override defaults by creating `data/i18n/{lang}.yaml`:

```yaml
# data/i18n/es.yaml
search_placeholder: "Buscar…"
skip_to_content: "Ir al contenido principal"
no_results: "Sin resultados"
newer: "Más recientes"
older: "Más antiguos"
```

Available keys: `search_placeholder`, `skip_to_content`, `no_results`, `newer`, `older`, `page_n_of_total`, `search_label`, `min_read`, `contents`, `tags`, `all_tags`, `tagged`, `changelog`, `roadmap`, `not_found_title`, `not_found_message`, `go_home`, `in_progress`, `planned`, `done`, `other`, `trust_center`, `trust_hero_subtitle`, `certifications_compliance`, `active`, `learn_more`, `auditor`, `scope`, `issued`, `expires`, `subprocessors`, `vendor`, `purpose`, `location`, `dpa`, `yes`, `no`, `faq`.

