Christophe Gougeon
Christophe Gougeon

Reputation: 11

Symfony 4.2 override translation bundle doesn't work

Symfony 4.2 documentation : " For example, to override the translations defined in the Resources/translations/FOSUserBundle.es.yml file of the FOSUserBundle, create a<your-project>/translations/FOSUserBundle.es.yml file. "

That's doesn't work for me and i clean my cache ! Any one have some idea ? Symfony take always the FOSUserBundle.es.yml of vendor.

Upvotes: 0

Views: 364

Answers (1)

Marat Shogenov
Marat Shogenov

Reputation: 11

Create a folder in /translations/FOSUserBundle/, move the translations you need and redo it.

"friendsofsymfony/user-bundle": "^2.1"
"symfony": "require": "4.2.*"

Upvotes: 1

Related Questions