buddypress email template

Home Forums Legacy Support Support queries Setup issues buddypress email template

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #190308
    yassineafailal
    Spectator
    Hi support team, I have 3 issues regarding the usage of my site email template on buddypress touch point emails. on the screenshot below, I can see 3 issues https://www.edemia.fr/wp-content/uploads/2018/10/bpress-translation-email.jpg 1- On the email sent by buddypress, the url of the site is http://www.... I want to have www... like what the email showed me. (print screen in the attached document) 2- On the email sent by buddypress, I want to translate "Hi" by "Bonjour", and to be aligned with the template email seen in wp-admin > emails > customize (print screen in the attached document). 3- On the email sent by buddypress, I want to translate "unsubscribe" by "se désabonner", and to be aligned with the template email seen in wp-admin > emails > customize (print screen in the attached document). Please advise ! thanks for your help. best regards,
    #190514
    Ava
    Member
    The words are coming from buddypress, I checked the buddypress code and it is coming from : buddypress\bp-templates\bp-legacy\buddypress\assets\emails\single-bp-email.php line number 220 . butI see the two screenshots shared by you, in one it is translated and the other it is not. The translated version appears in the WP admin area, so it means there are two locations for the same word, one for front end (email sent) and the other for back end (displayed in customizer ), can you please check if both the locations of the same word are translated.
    #190567
    yassineafailal
    Spectator
    Hi Ava, thanks for your feedback. I resolved the issue 3 by updating single-bp-email.php as you suggest. could you please tell me if my update of the config file will be lost by a buddypress plugin update? regarding the issue 2 and 1, could you please help? thank you in advance!
    #190672
    Anshuman Sahu
    Keymaster
    you can translate " hi " and  "unsubscribe" using the loco translate plugin : https://wplms.io/support/knowledge-base/translate-using-loco-translate-plugin/      
    #190699
    yassineafailal
    Spectator
    Hi Alex, Thanks for the feedback ! As I explained on my printscreen and my previous email : The template email displayed on wp-admin>emails>customize is well translated https://www.edemia.fr/wp-content/uploads/2018/10/bpress-translation-email.jpg The issue is that the email sent by buddypress does not use what I can see in wp-admin>emails>customize As suggested by Ava, I checked single-bp-email.php and then translated "unsubscribe" but didn't found "hi". As suggested by you, I checked buddypress in loco translate. the words "hi" and "subscribe" were already translated. they are the ones used on the template email diplayed on wp-admin>emails>customize. My issue is that the email sent by buddypress is still not translated. thanks for your help
    #190744
    Anshuman Sahu
    Keymaster
    Well both of these strings are available for translation , you just need to install that loco  translate pluign and find and translate those strings . It will be shown translated in emails also . Follow this guide to do that : https://vibethemes.com/documentation/wplms/knowledge-base/buddy-press-translation-using-loco-translator/ and this one too : https://wplms.io/support/knowledge-base/translate-using-loco-translate-plugin/#translatefive
    #190810
    yassineafailal
    Spectator
    Hi Alex, Thanks for your feedback. I already use loco translate for buddypress and other templates. I already followed the steps explained in your suggested links. The word "hi" is already translated in loco transtlate and synchronized but in the email sent by buddypress not translated. please see the prinstscreen. https://www.edemia.fr/wp-content/uploads/2018/10/Capture-d’écran-2018-12-30-à-13.37.51.jpg thanks for your help
    #190899
    Ava
    Member
    Hi Yassineafailal We need to verify whether your PO | MO file is updated or not and we need to debug your POT file Too. For this we need to check your files, so please share your admin credentials and password. Also share your Ftp credentials in a private reply so that we could fix this issue ASAP. Regards
    #190908
    yassineafailal
    Spectator
    This reply has been marked as private.
    #191036
    Anshuman Sahu
    Keymaster
    Hi apologies for the delay in resolution ,please provide us some time to rectify this issue .
    #191073
    logan
    Member
    This reply has been marked as private.
    #191090
    yassineafailal
    Spectator
    This reply has been marked as private.
    #191252
    logan
    Member
    hey, i have updated the pot files and po | mo files of buddypress by using your c-panel. please check if the issue is resolved. *i made backup(.zip) of all tampered files. please check and let me know if this works.
    #191274
    yassineafailal
    Spectator
    hi logan, thanks for the feedback. I just checked and the issue persisted. I received again "Hi" instead of "Bonjour" like the print screen : https://www.edemia.fr/wp-content/uploads/2018/10/Capture-d%E2%80%99e%CC%81cran-2019-01-03-a%CC%80-11.22.19.jpg thanks for your help
    #191344
    Anshuman Sahu
    Keymaster
    please try adding this given code in your wplms-customizer.php file in wplms customizer plugin :   add_filter('bp_email_get_salutation',function ($salute,$settings,$token){ return 'Bonjour '.$token; },10,3);
Viewing 15 posts - 1 through 15 (of 17 total)
  • The topic ‘buddypress email template’ is closed to new replies.