Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Changing "Friends" to "Connections" ?

@shanebp

Moderator

It’s a matter of finding the exact syntax.
This works in the function I provided.

        case 'Friends <span class="%s">%s</span>':
            return 'Connections <span class="%s">%s</span>';

A gettext filter is a reasonable approach if there are one or two labels that need to be changed.
But there are so many different places where ‘Friend’ or some variation is used that in your case you should definitely use a .mo file.
Read:

Customizing Labels, Messages, and URLs

Often there is confusion re the Sources Keywords section of PoEdit, so after you read the above, take a look at http://www.cssigniter.com/ignite/wordpress-poedit-translation-secrets/
especially the section titled ‘Keywords lists, WordPress functions, whaaaaaa?’.

Skip to toolbar