Posted by madeiraone on April 16, 2008 at 5:21pm
I have added the buddylist module to my site, but would like to change the title name from buddylist to contact list. I know how to change the menu item title and the titles editable within the buddylist module settings, but these do not give me access to all of the places the lable buddy or buddylist occurs.
Is it possible to change this?
Comments
I am trying to do the same
I am trying to do the same through Localization. I enabled the Localization module and edited buddylist/po/buddylist.pot to use 'contact' in place of 'buddy'. But I'm not seeing any changes. Any idea on whether this is the correct approach, and where my sticking point is?
UPDATE: I followed the instructions at http://drupal.org/node/156881#comment-577620 with partial success. Anyone who has successfully done this please share your experience.
...
Try HOWTO: Creating a customized language set to replace Drupal terminology
Fail
Did that work for you? Importing a new en.po doesn't translate anything for me ...
...
When I tried this, I didn't touch the po-files at all. Have you tried the step-by-step method described in the HOWTO? It has worked for me. Admittedly, I haven't tried it with Buddylist, but it should work the same way there.
If you try, and it doesn't work, you might test if the method works for other strings, both in core and in Buddylist. There may, perhaps, be a problem with that specific string.
apply patch & edit strings in settings.php
Following the instructions in this post:
http://drupal.org/node/206904
patch common.inc and then translate the strings in your settings.php file
works for me on most of the strings... except for the "User has no buddies" phrase in the panels block on the profile page.
Also, used path / url aliases to change
/buddylist to /friends
but could not change:
buddylist/*/buddies/requests
to something like
friends/*/friends/requests
because it seems the path module does not accept variables.
for the panels block
edit the "empty text" in the view