0.00 (0 votes)

Would you like to override any string of component or module view that you use on your site? I mean any label name or title that you can't control at the extension's configuration.
Keep reading, there's a simple solution.

Hypothetical situation

Although you installed the translation for Joomla of your native language or transalation for any extension it may occur that not each translation is appropriate for you and it would be perfect if you could overwrite few strings.

Every professional extension for Joomla should include language files that you may find in:

  • /languages

or

  • in languages folder of the specific component or module for example /components/com_djclassifieds/language

But it may occur complicated for you since the language file must be found, edited, modified, copied on the server.

Language Manager

Instead, use Language Overrides.
Navigate Extensions -> Language -> Overrides

language-overrides

Then make sure you've got Site selected and the language you're using.

Example

Let's take for example the demo site of JM-News-Portal template. It's news and classifieds portal where we used DJ-Classifieds extension - component and modules, complete solution for creating classifieds portal with Joomla 3.x

Choose from the top horizontal menu DJ-Classifieds link to see the blog view of the DJ-Classfieds component then click on mobile1 product.
Here we will choose few words to override.

Take a look at the screenshot.
I have pointed out 2 strings that I'm going to change.

jm-news-portal-classified

So come back to "Language Overrides" and press "New" button.

language-overrides-new

The text that you want to modify can be search by "constant" or "value".
Taking into account our examples you do not know constant - which is actually the identificator of each output text that you see on your site.
However you know values, that are:

1) Contact this advertiser
2) Specific details

Let's enter "Contact this advertiser" to the search input and press "Search" button.

language-overrides-newoverride

The search result is: 

COM_DJCLASSIFIEDS_ASK_SELLER - the constant, COM means that it's component, DJCLASSIFIEDS name of the component

Contact this advertiser - the value

Click on the result, then the "Language Constant" and "Text" fields will be filled automatically.
Now you can enter your own text in the "Text" area to override the current string.
I have repeated the same process for my second title.

If you come back to "Language Overrides" list there should be all overrides visible.
For me it looks as follows:

language-overrides-list

The final result on the site:

jm-news-portal-classified-modified

Users' reviews

Total rating: (0 votes) Add review

Video Tutorials

EF4 Framework for Joomla! 3 - introduction

Joomla! 3 Quickstart Installation Guide

Speed up your website! Must watch video!

How to create Joomla article?

Joomla ReCaptcha - how to set up?

How to use Joomla editors?

How to display a module in Joomla article?

How to configure Joomla contact form?

How to check Joomla module positions names?

How to configure your language for Joomla 3?

How to create Joomla custom HTML module?

How to create Joomla menu?

INDICO S.C.

ul. Wałowa 10/3, 84-200 Wejherowo, registered in Centralna Ewidencja i Informacja o Działalnosci Gospodarczej
NIP/VATID: PL5882424318

Copyright © 2009-2017 Joomla-Monster.com All rights reserved. Joomla! is Free Software released under the GNU/GPL License.
The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries. Joomla-Monster.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.