fixed problem with translations in symfony 2.3