I18n in symfony?

In an action you have to use __() using the context: echo $this->getContext()->getI18N()->__('message') You can also use: sfProjectConfiguration::getActive()->loadHelpers(array('I18N')); $this->getUser()->setFlash('error', __('message')).

In an action you have to use __() using the context: echo $this->getContext()->getI18N()->__('message'); You can also use: sfProjectConfiguration::getActive()->loadHelpers(array('I18N')); $this->getUser()->setFlash('error', __('message')).

It worked great for me! Thank you You can also do $this->loadHelpers(array('I18N')); in your ProjectConfiguration class or frontend|backendConfiguration classes Regards.

Best option if you are to do this is add this method to your actions.class. Php: public function preExecute() { sfProjectConfiguration::getActive()->loadHelpers(array('I18N')); parent::preExecute(); }.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions