I am using SonataUserBundle for extending user managing functionality. Also i use this bundle model file as base for registration form in frontend. On the another hand i want to add some other translations to FOSUserBundle.pl.yml – for example for firstname and lastname.
New form is defined in src/Application/Sonata/UserBundle/Form/Type/RegistrationFormType.php
So how and where should i create translation file to extend already defined translation?
I tried to put it in Application/Sonata/UserBundle/Resources/translations/Application/Sonata/UserBundle/Resources/translations/ApplicationSonataUserBundle.pl.yml but it was not working.
Any ideas?
You can put modified
FOSUserBundle.pl.ymlinapp/Resources/translationsfolder. See here .