Adding language OVERRIDES via custom language file (Joomla language override manager)

  • Published by
    George Papadakis
  • Last modified
    08 May 2014
  • Up to date
    Yes
  • Profile concerned
    End user
  • Concerns
    Component Plugins Template
  • Since Version
    2.0
  • Voting
    Average rating
    2 votes
    • 1
    • 2
    • 3
    • 4
    • 5
  • Favourites
    374 Adding language OVERRIDES via custom language file (Joomla language override manager) /documentation/tutorials-english/74-languages1/374-adding-language-overrides-via-custom-language-file.html


Joomla 2.5+ has a "language override manager" which creates and manage language files where overrides of language strings can be placed:
FRONTEND: language\overrides\en-GB.override.ini
BACKEND: administrator\language\overrides\en-GB.override.ini

These files are edited by J2.5+ language manager, and load by Joomla language loader automatically.

In Joomla 1.5 you can create and edit these language files manually, and FLEXIcontent will load them if it detects that they exist !!


-- So, there are cases that you may need to override default language strings for a specific language, but you do not know the name of these language strings, instead you simply see the text in the frontend.

  1. First you need to find if some displayed text is a language string
    In order to do this go to Joomla's Global Configuration, enable "Debug Language"
  2. Refresh the frontend joomla page and all text that is produced via a language string replacement will appear between dual stars e.g.:
    **Read More ...**
  3. Now go to Joomla Language manager and go to Overrides
  4. Select Language and location of it (Frontend or Backend)
  5. Search for value:  Read More ...
    And you will see it is a language string FLEXI_READ_MORE
    which you can load and set a new (overridden) text
  6. Go to frontend OR backend page and click refresh to see the overriden text being displayed
  7. Now remember to disable the parameter "Debug Language"