Joomla 1.7 language override (User-Profile Plugin)

This article explains how to change text in User - Profile plugin fields. You can use the same instructions to override pretty much any text filed in Joomla.

Let's say we want to change Address 1: to Your Address:

First off all find the original text you want to change in Joomla language file.
Language files are located in two places:
Frontend: /language
Backend:/administrator/language

In our case for the backend we open file /administrator/language/en-GB/en-GB.plg_user_profile.ini and copy following lines:
PLG_USER_PROFILE_FIELD_ADDRESS1_DESC="Choose an option for the field Address1"
PLG_USER_PROFILE_FIELD_ADDRESS1_LABEL="Address 1:"
In theory you could simply edit text in here and it would work just fine. Problem with this approach is that any Joomla update may overwrite this file with original values. This is why we should use language override files which are normally not touched by the updates.

Open backed language override file:
/administrator/language/overrides/en-GB.override.ini
paste the copied lines and change text between quotes as required:
PLG_USER_PROFILE_FIELD_ADDRESS1_DESC="Choose an option for the field Your Address"
PLG_USER_PROFILE_FIELD_ADDRESS1_LABEL="Your Address:"
This will take care of what you see in the backend.

To change text in the frontend open frontend language override file:
language/overrides/en-GB.override.ini
paste the same text and edit as required:
PLG_USER_PROFILE_FIELD_ADDRESS1_DESC="Please Enter Your Address"
PLG_USER_PROFILE_FIELD_ADDRESS1_LABEL="Your Address:"

Joomla 1.6
Joomla 1.7

Comments  

Natalie
# Natalie 2012-03-14 12:13
Im having trouble (using version 1.7.3) as I actually dont have an en-GB.override. ini file in the overides directory? Ive downloaded a fresh copy of joomla 1.7.3 and there is still nothing in the overides folder?

Thanks in advance
Gordon
-1 # Gordon 2012-02-02 06:18
Great job. I used this approach and it helped me overcome a set of problems I had integrating with Moodle. End result is that I now have a site that functions as I want it to and I can start building and adding content. Many thanks Again!

Gordon
Howard Toon
# Howard Toon 2012-01-01 15:57
What a super little article! I love it.

Now: how easy is it to change the filed type? - text, choice, pop-down list etc :-)
Joseph
# Joseph 2011-10-12 16:40
How to do this in joomla version spanish, What I have to change?

Newsletter

Subscribe to receive occasional updates on new posts.
Your email will not be used for any other purpose and you can unsubscribe at any time.
Please wait