private function configureTranslations()
    {
        if (null !== array_key_exists('translation', $this->options) && is_array($this->options['translation'])) {
            $translatable = $this->options['entity'];
            $translation = $this->options['translation']['entity'];

            $id = sprintf('%s.%s_translation', $this->prefix, $this->resourceName);

            // Load metadata event mapping
            $mapping = [
                $translatable => $translation,
                $translation  => $translatable,
            ];
            if ($this->container->hasParameter('ekyna_admin.translation_mapping')) {
                $mapping = array_merge($this->container->getParameter('ekyna_admin.translation_mapping'), $mapping);
            }
            $this->container->setParameter('ekyna_admin.translation_mapping', $mapping);

            // Translation class parameter
            if (!$this->container->hasParameter($id.'.class')) {
                $this->container->setParameter($id.'.class', $translation);
            }

            // Inheritance mapping
            $this->configureInheritanceMapping($id, $translation, $this->options['translation']['repository']);
        }
    }