Sylius/adr/2020_03_03_api_translations.md

644 B

Date: 2020-03-03

API - Translations

In power from version: 1.8.0 (?)

Related PRs: #11136, #11144, #11157

Description

Problem to solve

Provide unified way to manage translations for translatable entities in API.

Possible solutions

The translations from collection could be embedded as objects within a ProductOption/ProductOptionValue resource or provided by IRIs

Decision and reasoning

Translations should always be embedded as the collection of objects. They're irrelevant outside of the main object and do not provide any value alone.