This topic has 9 replies, 3 voices, and was last updated 8 years by Radu.

  • Author
  • #159602
     joy
    Participant

    Hello, how do I change the wording in the buddypress notifications?

    Currently, if someone posts a comment to a blog post, the notifications reads: “xx has posted a comment to your update”. I would like it to read: “xx has posted a comment to your blog post”.

    Thank you.

    #159695
     Laura
    Moderator

    Hello, you could try using the plugin Loco Translate to change strings of the buddypress plugin and the theme 🙂

    Theme strings and plugins strings can easily be changed by using Loco Translate plugin https://wordpress.org/plugins/loco-translate/
    <h3>A small introduction on how translations work</h3>
    Translatable strings can come from the theme or from the installed plugins. You need to translate the theme or the plugin depending on what section of the site your string is found.

    For example if your string is on your BuddyPress profile then most probably you will need to translate BuddyPress plugin. If you are on the Forums section of your site then bbPress plugin should be the one that needs to be translated. Another example is the rtMedia plugin that adds the Media links to BuddyPress and if you want to translate it then this plugin will contain the string.
    <h3>Follow these steps to get you started:</h3>

    • Install Loco Translate plugin
    • Go to the plugin dashboard: WP Admin – Tools – Manage translations
    • Find the theme or plugin in the list.
    • If the language isn’t already in the list then click Add new language, choose your language and if you are asked where you want to save the language files choose global language directory ( wp-content/languages/ ).
    • Press SYNC button to synchronise your translation with the provided .pot file
    • Search for the string you want to translate and add your translated string.
    • Press Save when you finished your translation.

    Note: You will have to set the language for your blog from WP-admin – Settings – General – Site Language – Choose your language

    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #159729
     joy
    Participant

    Thank you but I do not wish to use a plugin. Please tell me which files I need to edit.

    #159803
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #159892
     Radu
    Moderator

    Hi,

    You can use loco translate to translate those actions then de-activate it, loco translate only scans plugins for strings and generate po/mo files for those.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #159909
     joy
    Participant

    I do not wish to use a plugin. Can you please tell me which files I need to edit? Thanks.

    #160251
     Radu
    Moderator

    /wp-content/languages/plugins/buddypress-de_DE.po

    Instead of de_DE there should be your lang code

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #160301
     joy
    Participant

    Hi, I wasn’t aware that I would be able to set my translations and then de-activate the plugin. However, I’ve tried to make the translations, and they just don’t work. Would you mind looking into it?

    sandbox.soulsequel.com/wp/wp-admin
    admin
    ss@2015

    I’ve only tried to change one line so far, but it won’t work. In the Buddypress english file, I have changed, “username commented on one of your updates” to “username commented on one of your conversations”.

    Thank you.

    #160485
     joy
    Participant

    Never mind, closing this ticket.

    #160678
     Radu
    Moderator

    Ok

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 10 posts - 1 through 10 (of 10 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?