---
title: "Localization"
label: "Localization"
description: "Which language each Board API field uses, the salary locale option, canonical slugs, and formatting."
publishedAt: 2026-07-10
updatedAt: 2026-10-20
order: 4
status: "published"
---

The Board API returns board data in the board's language: skill, category, market, and place names, and the slugs their pages live at. Your application adds its interface copy, language switcher, and route prefixes on top.

## Prerequisites

- An interface language chosen at the server boundary and shared by server and client rendering.
- The board language from `board.context()`.
- An i18n system for your application's own interface copy.

The board context exposes the board's `language`, set under **Settings → General → Board language**. Cavuno uses it for taxonomy and place names, canonical slugs, and the company descriptions it writes. Use it as your default interface language and formatting language.

AI website builder sites can add [secondary languages](/docs/board-setup/board-language#secondary-languages) from Settings. In a custom SDK frontend, your i18n system decides which interface languages you offer.

## Load board content

Read the board context alongside the content you need:

```ts
// src/data/board-content.ts
import { board } from '../lib/board';

export async function loadBoardContent() {
  const [context, jobs] = await Promise.all([
    board.context(),
    board.jobs.list({ limit: 20 }),
  ]);

  return { context, jobs };
}
```

## Language of each field

Board API reads take their names and slugs from the board language set in Settings. The API does not read `Accept-Language`, and only the salary methods take a `locale` parameter.

| Field | Language |
| --- | --- |
| Place lists (`board.taxonomy.places.list`): `displayName`, `canonicalSlug` | Board language |
| Place lists: `name`, `slug` | English source values |
| Job `placeHierarchy` entries: `name` | Board language, or English for a place with no translation |
| Job `placeHierarchy` entries: `canonicalSlug` | Board-language slug where that language has unique place slugs; otherwise the English `slug` |
| Job title and description | As posted, in the language the job was written in |
| Skill and category names | Board language, with the English source name until a translation exists |

Link with `canonicalSlug` and show the board-language name. Both slugs work as the jobs `location` filter, and on a translated board the location page at the English `slug` can redirect to `canonicalSlug`.

```ts
const { data: places } = await board.taxonomy.places.list();

for (const place of places) {
  // place.displayName: board-language name for the UI
  // place.canonicalSlug: board-language slug for /jobs/locations/:slug
}
```

## Salary `locale`

Salary methods take an optional `locale`, a board language code such as `de`. It defaults to `en`, which returns English names and slugs. Any other value overlays that language's names and canonical slugs on the response. Pass the board's `language`:

```ts
const context = await board.context();
const title = await board.salaries.titles.retrieve(inboundSlug, {
  locale: context.language,
});

if (title.canonicalSlug !== inboundSlug) {
  // Permanently redirect to salaryTitlePath(title.canonicalSlug).
}
```

Use display names for UI and returned canonical slugs for URLs.

## Choose a formatting language

This example formats dates and salary values in the board language:

```ts
import {
  formatDate,
  formatSalaryRange,
} from '@cavuno/board/format';

const published = formatDate(context.language, job.publishedAt);
const location = job.locationLabel;
const salary = formatSalaryRange(
  context.language,
  job.salaryMin,
  job.salaryMax,
  job.salaryTimeframe,
  job.salaryCurrency,
);
// { text, timeframe, bound } | null
// Map timeframe (wire enum) through your catalog; attach From/Up to when
// bound !== 'range'. Compose amount↔timeframe order yourself (ADR-0103).
```

Chrome strings (nav, buttons, empty states) live in application-owned messages, outside `board.context()` and the SDK (ADR-0104).

To format in the visitor's interface language instead, pass that language explicitly and use the same value on the server and client.

## Offer more than one language

Set the document's `lang` to the interface language the visitor picked. The API returns the same board-language data for every interface language, and your i18n system translates the interface copy around it. Job descriptions keep the language they were posted in; give a description its own `lang` when you know its language.

## Expected result

Visitors read board-language names in your application's interface, every link uses a canonical slug, and inbound aliases redirect to it. Server and client render the same dates, currencies, and locations.

## Verify the result

- The document `lang` value matches the interface language the visitor picked.
- A localized salary or taxonomy alias permanently redirects to the returned canonical slug.
- Location links use `canonicalSlug` and show the board-language name.
- Server and client render identical date, currency, and location strings.
- Your own i18n system translates navigation and application chrome.
- Canonical and sitemap URLs use canonical slugs.

## Errors and edge cases

- Pick the interface language on the server, from the URL or a cookie, so server and client HTML match.
- Treat an unrecognized locale passed to a formatting helper as a configuration error in your app.
- Place and taxonomy IDs stay stable across languages; names and slugs follow the board language.
- The fixed remote-location wrapper copy has narrower localization coverage than all board-supplied place names; review it in every supported language.

## Production cautions

- Include the locale in any cache key for localized reads.
- Keep localized authenticated responses out of public caches.
- Test dates around UTC day boundaries and currencies with symbol-after-number conventions.
- Crawl every language you offer for canonical and redirect loops before launch.

Continue with [Framework guides](/docs/sdk/framework-guides) to wire these framework-neutral helpers into your runtime.
