Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] words: Notifications, Friends, Groups are not translated


  • pascalh
    Participant

    @pascalh

    Hi

    I have the following problem. I have buddypress translation (po/mo) but three words will not be translated. Everything is translated but these three words remain in English.

    test environment:
    See URL: http://www.pascald94.ninetyfour.axc.nl/testomgeving-sp/

    I have created a temporary login:
    Usernaam: marc
    Password: marc123

    If you are logged in go to:
    Profiel > instellingen

    They are the words: notoficaties ( must be: mededelingen ), Friends ( must be: Vrienden ), Groups ( must be: Groepen )

    I hope someone can help me
    Cheers Pascal

Viewing 2 replies - 1 through 2 (of 2 total)

  • danbp
    Participant

    @danbp

    hi @pascalh,
    your issue maybe related to your theme or a custom function you use.

    The original “notifications” string is in bp-notifications/bp-notifications-loader.php:109
    Check the po file first
    If you made a custom function to get the menu, check that function.

    Be aware that the words “notifications”, “friends” and “groups” are coming with a count and that this counter is included in the translation within a html span tag. This is technically the point who made such translation not showing in some case. Because gettext is not very compleasant with html tags… So the problem can also be the strictness of the php version on use on your server.

    You can test this by writing your translation without using the span tag. (meldingen %d for example). If this ok, you’ll be fixed.


    pascalh
    Participant

    @pascalh

    Hello @danbp

    I have solve the problem with your help
    Thank you!!!

    have a nice weekend.

    greetings Pascal ( Born, Netherlands )

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] words: Notifications, Friends, Groups are not translated’ is closed to new replies.
Skip to toolbar