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.
Are you ready to ace the https://www.dumpstool.com/SY0-601-exam.html? Our comprehensive practice exam is designed to help you succeed. With over 200 high-quality questions and detailed explanations, you'll gain a thorough understanding of key security concepts and improve your test-taking skills. Each question mirrors the format and difficulty of the actual exam, ensuring you're fully prepared. Plus, our practice exam includes performance tracking to pinpoint your strengths and weaknesses. Boost your confidence and increase your chances of passing with ease. Don't leave your success to chance—practice with the best and achieve your cybersecurity certification goals!
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"