Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

Translate BACK word in menu

  • Dishon
  • Dishon's Avatar Topic Author
  • Offline
  • New Member
More
5 years 1 month ago - 5 years 1 month ago #139396 by Dishon
Dishon created the topic: Translate BACK word in menu
Hi,

I'm building multi-language site and want to translate word BACK in main menu:



I see that word BACK is hardcoded in file overlap.php. As my knowledge of php coding is very limited can someone help me to implement JText::_('BACK_MENU_ITEM') in code?

Please Log in or Create an account to join the conversation.

More
5 years 1 month ago #139397 by Krikor Boghossian
Krikor Boghossian replied the topic: Translate BACK word in menu
In the overlay.php file locate the following block of code:
echo '<div class="mp-level"><h2><a href="'.$item->flink.'">'.$item->title.'</a></h2><a class="mp-back" href="#">back</a><ul>';

and change it to:
echo '<div class="mp-level"><h2><a href="'.$item->flink.'">'.$item->title.'</a></h2><a class="mp-back" href="#">'.JText::_('BACK_MENU_ITEM').'</a><ul>';

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

Please Log in or Create an account to join the conversation.

  • Dishon
  • Dishon's Avatar Topic Author
  • Offline
  • New Member
More
5 years 1 month ago #139398 by Dishon
Dishon replied the topic: Translate BACK word in menu
Perfect... thank you sir ;)

Please Log in or Create an account to join the conversation.

More
5 years 1 month ago #139399 by Krikor Boghossian
Krikor Boghossian replied the topic: Translate BACK word in menu
You 're welcome.

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum