Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Notification, friends and messages are still in English :(

  • Profile photo of Findolfin
    Findolfin
    Participant

    @findolfin

    My Buddypress Version: 2.02
    My WordPress Version: 3.9.2
    http://www.ikino.ch (Pass for website access: hallo16)
    testuser: guest
    pass: guest

    Hello

    I read that a lot other people had this problem but no older topic could help me :(
    I use the German translation for my site but in the activity overview 3 tabs are not translatet:

    Notification, friends, messages

    But in the translation this words are translated.

    I already tried to remove the <span> – tag in the German translation as mentioned here:

    http://buddypress.org/support/topic/words-notifications-friends-groups-are-not-translated/

    The words are always in English it doesn’t matter if there is a notification or not.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Profile photo of danbp
    danbp
    Moderator

    @danbp

    Hallo @findolfin,

    Effectively, many peoples are claming about de_DE translation issue.

    As the german translation for BuddyPress awaible on GlotPress is only translated to 52% (58% for 1.9!), the only other source to get po/mo files is deckerweb who provides 2 versions, Du and Sie version for BP 1.9 (latest in january 2014)

    I downloaded the Sie version and opened the po. This file doesn’t contain any header information. So i guess gettext can’t read it correctly. And if you use this file it could be at the origin of your issue.

    Here are the whole header informations, including the whole keywords list like _x which you need to add into your german buddypress-de_DE.po
    Open the file with a text editor (notepad++ or similar) and paste it at the beginning of the file.

    Once done, you must open the modified po with poEdit and save it again, to generate the mo file which is in fact the compiled format of the translation used by gettext.

    msgid ""
    msgstr ""
    "PO-Revision-Date: 2014-08-08 09:45+0100\n"
    "MIME-Version: 1.0\n"
    "Content-Type: text/plain; charset=UTF-8\n"
    "Content-Transfer-Encoding: 8bit\n"
    "Plural-Forms: nplurals=2; plural=n > 1;\n"
    "X-Generator: Poedit 1.5.7\n"
    "Project-Id-Version: BuddyPress 2.0.2\n"
    "POT-Creation-Date: \n"
    "Last-Translator: \n"
    "Language-Team: \n"
    "Language: de\n"
    "X-Poedit-SourceCharset: UTF-8\n"
    "X-Poedit-Basepath: .\n"
    "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
    "_n_noop:1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_ex:1,2c;esc_attr__;"
    "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
    "X-Poedit-SearchPath-0: ..\n"

    Check this first and if it does not work, give feedback. And also theme name in case of. ;-)

    Profile photo of Findolfin
    Findolfin
    Participant

    @findolfin

    Hi

    Thanks, for your fast respond! Unfortunately it doesn’t work. But I could fix it by myself with trying.
    With poEdit the words were translatet but when I opened the file with CodeStyling Localization and searched for the “</span>” – tag I found message, notification, friends and groups twice:

    Once translatet to German and once not. I translatet all to German who were not translatet and it worked. I have no idea why this was that way but now I’m happy.
    I sent the file also to deckerweb and a topic in German WordPress so the other user with this issue can use the file.

    Maybe you have an idea what that could be?

    Profile photo of danbp
    danbp
    Moderator

    @danbp

    see here the answer from @shanebp.
    He listed all notification instance in the po file

    Maybe you have an idea what that could be?

    You give the answer: once translated to German and once not.
    Guess if something is not translated, you can’t see it. ;-)

    It could also to be that if you added the header infos to your po, that your translation plugin found immediatly some forgotten strings or new ones and added them, so you saw those unstranslated strings.

    I suggest you to update the po file from the source using poEdit locally, for example from within bp-languages/buddypress-de_DE.po, to ensure that you have all 1476 strings of BP 2.0.2

    Once done, you remove the po/mo from bp-languages and put them into wp-content/languages/plugins/

    Profile photo of Rutzki
    Rutzki
    Participant

    @rutzki

    Hi,

    i have the same problem, that notification etc. is not translated and i dont find, where i have put in the german translation in the po file.

    Can u upload your file, or copy and paste the few lines here?

    cheers,
    Patrick

    Profile photo of danbp
    danbp
    Moderator

    @danbp

    Hi @rutzki,

    are you responding to yourself ?
    i dont find, where i have put in the german translation in the po file.
    :D

    If you use poEdit, you can create your own copy of de_DE.po directly from the source on your local buddypress copy.

    The .po file header information necessary to get all translatable strings:

    
    msgid ""
    msgstr ""
    "PO-Revision-Date: 2014-08-06 02:16+0100\n"
    "MIME-Version: 1.0\n"
    "Content-Type: text/plain; charset=UTF-8\n"
    "Content-Transfer-Encoding: 8bit\n"
    "Plural-Forms: nplurals=2; plural=n > 1;\n"
    "X-Generator: Poedit 1.5.7\n"
    "Project-Id-Version: BuddyPress 2.0.2\n"
    "POT-Creation-Date: \n"
    "Last-Translator: \n"
    "Language-Team: \n"
    "Language: de\n"
    "X-Poedit-SourceCharset: UTF-8\n"
    "X-Poedit-Basepath: .\n"
    "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
    "_n_noop:1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_ex:1,2c;esc_attr__;"
    "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
    "X-Poedit-SearchPath-0: ..\n"

    https://codex.buddypress.org/developer/translations/

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Notification, friends and messages are still in English :(’ is closed to new replies.