Translation buddypress media


#1

Hi,

We have a english website : http://community.kibokonzi.com/ and our client would ike to change some text. We found the .mo & .po file and changes some english words but in the frontend nothing changes. (rtmedia.mo and rtmedia.po)

We would like to change the words :

Like Comment There are no comments on this media yet.

Coudl someone help us?


#2

That's not how you can change the words. To change the text you can use filters.

There is no filter available for "Like" and "Comment". You can change them using javascript.

For "There are no comments on this media yet", there is a filter for this text rtmedia_single_media_no_comment_messege. Using this filter you can change this text.


#3

Hi,

Where and how do I use the "filters"?

The javascript part, is that something I can change easy?


#4

Where do I use "filters"?

In your theme's function.php file.

How do I use "filters"?

You can check WordPress codex for how to use filters -> http://codex.wordpress.org/Function_Reference/add_filter

For javascript, yes, you can do that easily. You just need to use jQuery functions to change text. For that, you need to add some extra code in your theme's javascript file.


#5

HI,

Thanks, I will need someone to do this for us, translate the 2 words. Any sygestions?


#6

You can hire a developer to do that. You can also contact here -> https://rtcamp.com/contact/ for any rtMedia related custom work.


#7