mvc with multilanguage
the development in MVC, where he is responsible for the translation? in the controller, in the view, or it can be both?
in controller: $view-> translate = array (...)
in view: t开发者_StackOverflow社区ranslate ('word')
language affects functionality or flow of program? no, then in the view.
Unless you want to apply different process based on the language tt could be in Views only. In my programs its in the view only.
hth
精彩评论