G
In the structure you described, I don't quite understand why you've got a Router on the counteraller. I mean, I figured out the sequence.index.php - municipal loader.php - constant controller.php -article router.phpWhat's the dealer responsible for? It's just a roller connection?I think a common approach can be organized in such a way as:index.php - municipal loader.php - channelr.php - controller.phpWhere controller.php is the controller of every single page, that is CatalogController, ProductController.Moment 2Why do you have to connect a template in the router? The main and only task of the Router is to clear the url and connect the controller. We need to connect the necessary templates to the counteraller. To this end, an abstract Controller class, which is a method, for example, renders, which will include the appropriate template.MultilingualismThe general solution is that:Dissolve the url and if there's anything like the local after the site's address, we'll load the necessary language file, and if we don't find a standard load. In the template, the full statistical withdrawal of the information is obtained through a function which, by code, produces the necessary text from the language file.