{"issue":{"title":"Translate in controller","user":{"login":"Hirogens","id":1034430,"url":"https://api.github.com/users/Hirogens","avatar_url":"https://secure.gravatar.com/avatar/9b622c5540076b2e4962613c482469f9?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"9b622c5540076b2e4962613c482469f9"},"created_at":"2011-12-25T10:08:10Z","milestone":null,"labels":[],"state":"open","updated_at":"2011-12-25T10:50:02Z","id":2654800,"closed_at":null,"html_url":"https://github.com/christophervalles/Zend-Framework-Skeleton/issues/21","pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"body":"Hi Christopher,\r\n\r\nfor example in ProfileController.php you have :\r\n    public function indexAction(){\r\n        $this->title = 'Dashboard';\r\n    }\r\n\r\nAnd me I try to translate alls messages\r\n    public function indexAction(){\r\n        $this->title = $this->T('Dashboard');\r\n    }\r\n\r\nBut an error appair, can you help me.\r\n\r\nAn one another question, I don\"t undestand the \"Flipper\" what's this ?\r\n\r\nB.Regards\r\nChristophe","number":21,"url":"https://api.github.com/repos/christophervalles/Zend-Framework-Skeleton/issues/21","comments":5,"assignee":null},"comment":{"user":{"login":"christophervalles","id":196018,"url":"https://api.github.com/users/christophervalles","avatar_url":"https://secure.gravatar.com/avatar/8768e85369236e2c898c8d51d36bd440?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"8768e85369236e2c898c8d51d36bd440"},"created_at":"2011-12-25T10:50:02Z","updated_at":"2011-12-25T10:50:02Z","id":3270457,"body":"Ok,\r\n\r\nNow should be fixed. Before I moved the action helper, that means that you can access the translator using `$this->_helper->t('Dashboard');` but to write less characters I moved also the init code of the base frontend controller to the base controller of the project.\r\n\r\nNow you can access the translator using the normal action helper way or using the `$this->t->_('Dashboard');` way.","url":"https://api.github.com/repos/christophervalles/Zend-Framework-Skeleton/issues/comments/3270457"},"action":"created"}