Suppliers have the ability to store their content in multiple languages in Ventrata. We use the Accept-Languageheader in the request which ideally should be equal to what the client's browser/user agent sent.
We will then attempt to best match with a list of the languages that the Supplier has already translated their content into. The response will include Content-Langauge header indicating the language of the content we returned. This follows the HTTP standard.
For example, a request that specifies a range of preferred languages:
And the response matching to English, as that's the only language available for that product:
Some implementations might plan to cache this content locally, for that we also return Octo-Available-Languages header that will include a list of languages the supplier has translated the content into.
Octo-Available-Languages:en, fr, it, de
You can then repeat the request with each of the languages to get the different content.