Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Simple How-to: Language Override 9 years 10 months ago #8895

  • neyworg
  • neyworg's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 40
  • Thank you received: 9
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

JEM 2.0.1 - J3.3.3 PHP 5.4.4 NGINX!! | www.usyw.org
Attachments:
The following user(s) said Thank You: ernst67, avalon2, Rickard

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

Last edit: by neyworg.
  • Page:
  • 1
Time to create page: 0.436 seconds

Donate

If you find JEM useful and if you use it on your site, please consider a donation to the project.

Private Messages

You are not logged in.

Follow us......