Hi.
I am trying to add an aside Menu translation in
global / menu.php
and
global / pages.php
For example, giving 'title' => trans ('mainMenu.dashboard'), I get an error
"Target class [translator] does not exist."
How to correctly translate the menu?
Thanks in advance for your help.
Hi,
You can use the locale id in the title without trans() function. The text will be read from locale folder and file.
"title" => "mainMenu.dashboard"