Translations

Translations:J3.x:Supporting SEF URLs in your component/53/en

From Joomla! Documentation

Since Joomla 3.4 (and implemented in the core components since Joomla 3.8 as the "new component routers"), there is a new way of working on routers using the \Joomla\CMS\Component\Router\RouterView base class. This handles routing by allowing you to register views into your system. So first of all let's build up our component's router constructor: