In our last tutorial, we gave you a brief introduction about Joomla 3.0 language files. If you remember, there are three basic things involved:

  1. Language (such as English or Spanish)
  2. Constant (such as COM_CONTENT_WRITTEN_BY)
  3. Value (such as Written by or Excrito por)

 

Can I modify standard text in Joomla?

written-byIf you refer to the screenshot to the right, you can see how Joomla shows the author of an article by displaying under the title, Written by Super User.

Question:
What if you didn't want it to say, Written by? What if instead you wanted it to read, Article author?

You could edit the language file and change Written by to Article author, but if you upgraded Joomla, you run the risk of losing those changes if any of the language files get overwritten.

Answer:
Joomla 3.0 includes a feature called Language Overrides. Using language overrides allows you to change the Value (Written By) of a Constant (COM_CONTENT_WRITTEN_BY) without editing any Language Files (language/en-GB/en-GB.com_content.ini).

 

Using Language Overrides in Joomla 3.0

In the following steps, we'll show you how to use language overrides. We will change Written by to Article Author.

  1. Log into your Joomla 3.0 Admin Dashboard
  2. In the top menu, click Extensions and then click Language Manager
  3. In the left menu, click Overrides
  4. In the top left of the page, click New
  5. Find the Constant or Value to change

    creating-a-new-language-overrideUnder Search text you want to change and next to Search for choose Value. Then, type in the text you want to change (Written by in our example) and click Search.

    Under Search Results, click on the only result. This will automatically fill in the details for you under Create a New Override.

  6. Change the Text

    Under Create a new Override and next to Text, you'll see the Value. In this case it reads Written by %s. Change this to the text your prefer, in our case Article Author: %s.
  7. language-overrides-exampleClick Save in the top left of the page and then test your results! As you can see in the screenshot to the right, the Written by text has been changed to Article Author.
     
Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve our Support Center:
Email Address
Optional, but our team may contact you for more information.
Like this Article?

Post a Comment

Name:
Email Address:
Comment:
Are you a bot?
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

Write New!
Do you want to publish a tutorial to our support center?

News / Announcements

SSL Certficate Warnings
Updated 2014-04-14 11:34 am EST
Hits: 2218
Heartbleed 0-day OpenSSL security bug
Updated 2014-04-14 04:43 pm EST
Hits: 5640

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question
Stack Exchange Q&A site proposal: Joomla

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!