Forum Replies Created
-
Author
-
November 15, 2018 at 11:36 in reply to: Some translateable strings in single.phph (Members Single Message) are ignored #2134420rcaParticipant
I think I found the problem. The original string in the buddypress pot is ‘Conversation between %s.’ and not ‘Conversation between %s and you.’
As soon as I change it, the translation works.COPY CODE<span class="highlight"> <?php if ( !bp_get_the_thread_recipients() ) : ?> <?php _e( 'You are alone in this conversation.', 'buddypress' ); ?> <?php else : ?> <?php printf( __( 'Conversation between %s.', 'buddypress' ), bp_get_the_thread_recipients() ); ?> <?php endif; ?> </span>
So this will have to be changed in wp-content/themes/kleo/buddypress/members/single/messages/single.php in the next theme update too, right?
November 15, 2018 at 11:19 in reply to: Some translateable strings in single.phph (Members Single Message) are ignored #2134410rcaParticipantHi Radu,
unfortunately the Load more string is not exiting in kleo-framework either. Why not simply use the original ‘js_composer’ as text domain, that works. So you would have to add the strings to either k-elemenst or kleo-framework or change the text domain in all vc_templates files in the next theme update.
I am a bit confused about your second part. We are on 4.4 (4.4.1 is not yet available as an update). I have tried every single.php you gave me, but it doesn’t work 🙁
Best regards
MichaelNovember 14, 2018 at 13:06 in reply to: Some translateable strings in single.phph (Members Single Message) are ignored #2134160rcaParticipantHi again,
tracking another missing translation I found something similar in \kleo\vc_templates\vc_posts_grid.php
The “Load More” button is created like this
COPY CODE<div class="posts-load-more text-center"> <a data-paged="<?php echo $next_page; ?>" class="btn btn-highlight style2" href="#"><?php _e('Load more', 'k-elements'); ?></a> </div>
but the string does not exist in the K-Elements language files.
November 14, 2018 at 12:45 in reply to: Some translateable strings in single.phph (Members Single Message) are ignored #2134150rcaParticipantHi Radu,
sorry for the late reply, but we launched the site last week and had our hands full.
Thanks for the code. I swapped out the code, but the translation still isn’t applied. I checked Loco translate again and the strings are translated correctly. Cache was cleared etc. so unfortunately it doesn’t yet work.
Best regards
MichaelNovember 6, 2018 at 18:32 in reply to: Some translateable strings in single.phph (Members Single Message) are ignored #2129800rcaParticipantAny news?
October 25, 2018 at 11:05 in reply to: Some translateable strings in single.phph (Members Single Message) are ignored #2121690rcaParticipantWe are using Loco Translate, yes. And the translation has been correctly done: https://cloud.deinhardt.com/index.php/s/4FG5wib2a3Yp6GD
But it doesn’t apply: https://cloud.deinhardt.com/index.php/s/QSC355ASmHgY8TnSo why is your buddypress template file not using the correct language file? As i wrote, I can change the text directly in wp-content/themes/kleo/buddypress/members/single/messages/single.php, which shows that no language file is used.
0rcaParticipantWell, the problem is not the restriction but the buttons who are still visible – even if the groups are restricted …
Cheers
0rcaParticipanthardcoded??
COPY CODE<h3 style="padding-bottom:0px;margin-top: 20px;"> <?php _e( "Please choose your backgroundd repeat option", "bpcp" ); ?> </h3>
0rcaParticipantHi Laura
Even after upload but before saving like the profile pics?? Thats weird, because its similar, isnt it?
Thanks
0rcaParticipanthi
there is no “background” text in the buddypress textfile. the correct phrase “Please choose your background repeat option” is in the buddypress-cover-photo file, which i changed, but it wont displayed … 🙁
every other texts are fineAttachments:
You must be logged in to view attached files. -
AuthorPosts