Content

Overview

Enable localized content by adding content to the Octo-Capabilities header.

Request Header

Use Accept-Language to request content in a specific language:

Accept-Language: sv

Supported format: ISO 639-1 language codes (e.g., sv, en, de).

If the requested language is not available, the response falls back to the supplier default language.

Response Headers

When content capability is enabled, responses include:

Header
Description

Content-Language

The language used in the response

Octo-Available-Languages

Comma-separated list of available languages

Added Fields

When enabled, the following fields are added to responses:

Supplier

  • title: Localized supplier name

  • shortDescription: Localized description

  • availableLanguages: List of supported languages

Products & Units

  • title: Localized product/unit name

  • shortDescription: Localized description

Extras

  • title: Localized extra name

  • description: Localized description

Example Request

Example Response Headers

Last updated