Closed
Description
Currently the new Translatable
value object and its corresponding t()
factory, live in the Translator
component.
Given its general purpose usability for any translator implementation, i suggest to move both symbols to the Translation
contract.
It seems more reasonable to leak contracts into our domain layer, rather than an infrastructural component.
Besides, this provides a defacto standard for translation extractors to act upon as well.