investigating Change Language for ($profile_location) Label

PatriaCo
PatriaCo
@the-patria-company
6 years ago
349 posts
Where can I find the language label associated with $profile_location

I've looked in core, users, profiles and even geolocation, but I can't find it anywhere.

:?


--
The Patria Company - patriaco.com / quality-trades.com / a-t.life - doing Jamroom since v3

updated by @the-patria-company: 10/09/18 07:45:52PM
douglas
@douglas
6 years ago
2,793 posts
Hello,

Try the profile module language tab.

Hope this helps!


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
paul
@paul
6 years ago
4,331 posts
Its one of the fields inserted by the skin, and unfortunately, at this time, the labels are hard coded.
We'll look into changing that but in the meantime, if you are running a cloned or custom skin, edit its include.php file and look for this code -
        $_tmp = array(
            'name'          => 'profile_location',
            'type'          => 'text',
            'label'         => 'Location',
            'sublabel'      => 'City, State',
            'help'          => 'Enter the home location for this profile',
            'form_designer' => true
        );

Change the label(s) there.
hth


--
Paul Asher - JR Developer and System Import Specialist

Tags