title: How to add translation class/model to an existing Sylius model?
body: <p>I am trying to add translations to Sylius' product variant model, but having some trouble configuring the resource.</p>
  
  <p>When dealing with custom models it is easy to add translation classes, just create the necessary classes with the right interfaces and then include them in the resources configuration file, like below:</p>
  
  <pre><code># resources.yml
  app.orientation:
              driver: doctrine/orm
              classes:
                  model: AppBundle\Entity\Orientation\Orientation
              translation:
                  classes:
                      model: AppBundle\Entity\Orientation\OrientationTranslation
  </code></pre>
  
  <p>I have already added the necessary classes to the product variant and customised the product variant itself to make it translatable. The last step is to activate the translation classes (only the model in this case). The problem is that when I try to add the model to my config.yml I get the following error:</p>
  
  <blockquote>
    <p>Unrecognized option "translation" under
    "sylius_product.resources.product_variant"</p>
  </blockquote>
  
  <p>So how am I supposed to enable the translation of the product variant model?</p>
  
  <p>Configuration reference:</p>
  
  <pre><code># config.yml
  sylius_product:
      resources:
          product_variant:
              classes:
                  factory: AppBundle\Factory\Product\ProductVariantFactory
                  model: AppBundle\Entity\Product\ProductVariant
                  form:
                      default: AppBundle\Form\Type\Product\ProductVariantType
              translation:
                  classes:
                      model: AppBundle\Entity\Product\ProductVariantTranslation
  </code></pre>