Joomla Blog

Tutorials, reviews, case studies and other tips to help website owners and website developers master the Joomla content management system.

Language overrides from Administrator

The text that is displayed in content items such as articles, categories and menus is, of course, specified by you. But what about the text that appears as part of Joomla’s normal function? For example, what if you don’t want the Joomla registration link to read “Create an account”? Or how do you go about changing the breadcrumb module so it reads “Navigation” instead of “You are here”?

These text strings are stored in various language files which are stored in the language folder. To change these values in Joomla 1.5, you had to find the correct file, change it and hope that a future update didn’t overwrite your change. Joomla 1.6 introduced the language override feature, but it still required messing with a text file. But the process is now very simple with the introduction of the override feature built-in to Administrator, in Joomla 2.5. Here’s how to use it.

  1. Find the text that needs to be changed and copy it. In this example, we will change the breadcrumb text that reads “You are here”.

    Language file 1 
  2. Login to Administrator and head to Extensions - Language Manager.
  3. Click the Overrides link in the text links that appear towards the top left

    Overrides link 
  4. Click New towards the top right.
  5. In the search box that appears towards the bottom right, paste the text that was copied earlier. Leave Search for set to Value and click the Search button.
  6. One or more results will be displayed.

     Language override search result
  7. If there are multiple results, this is where some working knowledge of Joomla is handy. If you’re not sure which one to change, you can try them all until you succeed. In this case, I happen to know that the first two results relate to settings in the breadcrumbs module and it wouldn’t hurt to change those too. But it’s the last one - MOD_BREADCRUMBS_HERE - that is the frontend value that needs to be changed.
  8. Click the relevant search result and the current text appears in the top left. Change that text to your desired value.

    Language override text 
  9. Click Save & Close and refresh the relevant frontend page to see the new text.
    Language file changed 

Language overrides are stored in a special file. Subsequent Joomla updates will not touch this file, so language overrides remain permanent.

You can include HTML code in language files, however tread carefully when it comes to special characters. On occasion, we have needed to add a link to the text in a language file. If you try to do the following, it will fail and potentially mess up any other overrides you have created:

Double quotes are used elsewhere in language files, so you need to replace them with the HTML code of e.g.

Many extension developers follow the same pattern, so you may be able to use the same process to customize standard text throughout your site.

Rate this blog entry:
AceShop Review: First Look
Awesome Joomla!Days Infographic

Related Posts


Comments 3

Guest - Kerner on Friday, 20 April 2012 21:14

Brilliant, thanks for this tip. More posts about Joomla 2.5 new features are very welcome.

Brilliant, thanks for this tip. More posts about Joomla 2.5 new features are very welcome.
Jonathan Frewin on Wednesday, 25 April 2012 02:07

That's great Richard but can you change typeface/colour?

That's great Richard but can you change typeface/colour?
Brad Hamilton on Wednesday, 02 May 2012 09:53

Now there is a compelling reason to upgrade to 2.5!

Now there is a compelling reason to upgrade to 2.5!

Free Joomla TutorialLearn Joomla for free with our 16 lesson, 2 hour course.

Get Started