Language Override
This is a simple how to document to help you understand and use the built in function of Joomla to override language.
Using Joomla Event Manager (JEM) as an example.
Our installation of JEM will be for a training site and instead of holding events we will be holding classes. We have decided that we want to change the language of Event and Events to Class and Classes.
Joomla has a built in function that allows for simple language override. It is located under
Extensions ->
Langauge Manager you will then select the
Overrides tab.
While in the Overrides tab click
New
On the right hand side you will see the Search text you want to change section. Since the first value we want to change is Event then we search for that value.
Look through list to find the "COM_JEM_EVENT" constant and its value and click on it. When clicking on it the constant and its value should populate on the left side in the Language Constant and Text boxes. Change the value from Event to
Class. Click
Save and close.
While in the Overrides tab click
New
We now want to change Events so we once again search for it in the Search text you want to change section as was done earlier.
Look through list to find the "COM_JEM_EVENTS" constant and its value and click on it. When clicking on it the constant and its value should populate on the left side in the Language Constant and Text boxes. Change the value from Events to
Classes. Click
Save and close.
You have just completed overriding the words Event and Events