Symfony Translate不适用于任何部署服务,但适用于localhost

Hello Guys I have a problem with symfony 3.3.2 translator,

The translator works like a charm in localhost , but after I deployed it in heroku o some other services it's doesn't work at all I spent almost 3 days looking for a solution but without any result ,

Here is how I have done the translate : I creat translations folder for every bundle ex:

UserBundle/Resources/translations

I create my translation files ex :

messages.fr.yml

it contain stuff like this:

signin_Invalid_login: E-mail ou mot de passe invalide, veuillez réessayer!
password: Mot de passe

in twig i call it like this:

{{'password'|trans}} {{'signin_Invalid_login'|trans}}

also I adjust config in config.yml just like symfony docs:

translator: { fallbacks: ['%locale%'] }

and I add {_locale} in routes to make translate work.

as i said above it's works in local host but in deployment don't Thank you ^^