Localization
Which language each Board API field uses, the salary locale option, canonical slugs, and formatting.
A
JThe 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 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:
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.
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:
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:
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
langvalue matches the interface language the visitor picked. - A localized salary or taxonomy alias permanently redirects to the returned canonical slug.
- Location links use
canonicalSlugand 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 to wire these framework-neutral helpers into your runtime.