How to override Joomla language strings

How to override Joomla language strings

Quite often, we receive requests about modifying language constants. Most of the time, users are unaware that modifying the language files directly is pretty pointless because when the extension get's updated, the changes will be reverted and it doesn't make sense to make a backup of the changes all the time.

Since Joomla 1.6 onwards, users can actually override language constants easily and it doesn't need much technical knowledge at all!

 

1. Access Language Manager

To access the overrides, you need to access the Language Manager section at the back end of your Joomla! site. It's accessible via the Extensions menu at the top.

 

Access Joomla Language Manager

 

2. Click on the Overrides tab

On the Language manager page, click on the Overrides tab as highlighted from my screen shot here

 

b2ap3_thumbnail_2overrides.png

 

3. Click on the New button

Now, once you are on the Overrides page, you'll see a list of previously overriden language strings which you can manage. For now, click on the New button as highlighted from the screen shot here.

 

b2ap3_thumbnail_3new.png

 

4. Fill up the details

On the form, add the language constant that you would like to override. Language constants are most likely in this format, COM_EASYBLOG_XXX (Depending on which extension, plugin or module you are translating)

 

b2ap3_thumbnail_4create.png

 

Once you are done, hit the save button and you are good to :) Language constant overrides are stored by default in the folder /language/overrides/en-GB.override.ini (It also depends on your current locale code. In this example, it utilizes en-GB)

 

Hope this helps you as a site owner or a site builder! Happy site building :)

 

 

Comments (8)

Remenber that there are Language strings for the Admin part and the website. Before you push 'New' you must choose the right part through 'Filter'.
If you don't know wich part the language constant is: Use the Search-button after pushing New.

  Attachments
Your account does not have privileges to view attachments in the comment
 

Thanks for sharing this

  Attachments
Your account does not have privileges to view attachments in the comment
 

Thanks for sharing usefu; infortmation, I was not aware of this important thing. Very nicely and with clear steps you have given wit clear details. Please post this type of blogs always.

Thanks

  Attachments
Your account does not have privileges to view attachments in the comment
 

Thanks Yogesh

  Attachments
Your account does not have privileges to view attachments in the comment
 

Thanks, I diden't know this.

It's help me A LOT!!!!

  Attachments
Your account does not have privileges to view attachments in the comment
 

I literally have HUNDREDS of language changes on EasySocial. Do I have to enter each and every language override via Joomla? OR Can I create an alternative .ini file, and store that whole file in a separate place?

  Attachments
Your account does not have privileges to view attachments in the comment
 

John, by default Joomla creates en-GB.override.ini in the language/overrides/ folder

  Attachments
Your account does not have privileges to view attachments in the comment
 

This was a great help!

  Attachments
Your account does not have privileges to view attachments in the comment
 
There are no comments posted here yet

Subscribe To Our Blog

Subscribe to our blog by entering your email address:

Thanks! You have subscribed to our newsletter.

Some Updates On EasySocial 2.1

Friday, 28 July 2017 by Mark

Updates Available For All Products

Tuesday, 25 July 2017 by Sylvie

Introducing EasyArticles

Thursday, 25 May 2017 by Mark

Joomla 3.7.1 Security Release Available

Wednesday, 17 May 2017 by Mark

Echo Template Released

Tuesday, 24 January 2017 by Sylvie

ConverseKit 1.0.3

Friday, 20 January 2017 by Sylvie