8.4.1 How to translate Dashboard single page during installation?
Permalink
I add single pages programmatically in the Dashboard:
that will automatically add pages
- Dashboard -> Cars
- Dashboard -> Cars -> Options
But how can I have these page names translated in the package? Is there an option to save the page name as another name without breaking the functionality, because all controllers are working based on the URLs.
SinglePage::add('/dashboard/cars/', $pkg); SinglePage::add('/dashboard/cars/options/', $pkg);
that will automatically add pages
- Dashboard -> Cars
- Dashboard -> Cars -> Options
But how can I have these page names translated in the package? Is there an option to save the page name as another name without breaking the functionality, because all controllers are working based on the URLs.