Install via composer


This bundle uses symfony flex recipes to install further files via composer. Please check that flex is already configured in your project as it is part of the installation.

$ composer require enhavo/translation-bundle ^0.8


This bundle has some other enhavo dependencies. Please check the installation guide for the other dependencies first, before you go on. Note that the Install via composer section for the other bundles are executed automatically within this bundle and you don’t need to repeat that step. Just skip and go on with further steps.


Read the output after Install via composer carefully. All dependencies, which need further steps by you mentioned there.

Add node package

Execute following command to add required node package:

$ yarn add @enhavo/translation

Register form package

Add following lines to assets/enhavo/registry/form.ts

// import statement
import TranslationFormRegistryPackage from "@enhavo/translation/Form/FormRegistryPackage";

// register the package
this.registerPackage(new TranslationFormRegistryPackage(application));