Problem with translate some words


#1

Hi,
i can’t find translate option to words:
All Music, All Photos, All Video, Add Album, There are no comments on this media yet., people like this. Where i can translate it?

Please look in print screen:
http://s15.postimg.org/imamp3k8r/Bez_nazwy_5.jpg
http://s11.postimg.org/db9eshlsj/Bez_nazwy_6.jpg
http://s8.postimg.org/4ph2ztrxx/image.jpg
http://s16.postimg.org/f4lf3ntk5/image.jpg

Regards,
Tomasz


#2

Hello,

I've discovered same issues. Looks like some messages are not translated because they are not gettexted. E.g. the "All Photos" message: Path: /wp-content/plugins/buddypress-media/templates/media/ File: media-gallery.php Line 13: <?php if( $title ) { echo $title ; } If you change it to: <?php if( $title ) { echo __( $title, ‘rtmedia’) ; } The message will be translated.

Possibly the issues with other messages which are not translated properly are caused by the same reason.

Anton.


#3

Hello again,

The issue with "Add Album" is slightly different, but still related to calling gettext functions.

Path: /wp-content/plugins/buddypress-media/app/main/controllers/template/ File: rt-template-functions.php Line: 1380

Current code: $options[] = “” . __(‘Add Album’) . “”;

Change it to: $options[] = “” . __(‘Add Album’, ‘rtmedia’) . “”;

Cheers, Anton.


#4

Found one more place that needs a fix:

Message: Media –> lightbox – "people like this" is not translated. Path: /wp-content/plugins/buddypress-media/app/main/controllers/template/ File: rt-template-functions.php Line: 1728 Issue: missing ‘rtmedia’ in _e(‘people like this’) Should be: in _e(‘people like this’, ‘rtmedia’)

Anton.


#5

@Tomasz, Please check this document -> https://rtcamp.com/rtmedia/docs/common/translations/ you can add missing translations of your language.

@Anton, Thanks for reporting the issue. We will fix it. Also check the link I just gave above.


#6

Ritesh Patel, i translated this words and update rmedia to 3.6.11 (Polish and Russian translation and bug), reskan polish translate in code styling location. I see my translate in files .po and .mo but i my site i see still don't translate words about i wrote: All Photo, All Video, All music etc. How to fix it?


#7

Yeah I checked. It seems to be some problem. We will fix it and will update the plugin.


#8