buddypress-community Theme internationalization

Hi everyone,

After fumbling with the Theme files and trying to hardcode a french version of buddypress-community… I found the "Internationalization" thread which delt remarkably with the issue.

Alas… i tried both the plugin way and the .po file way, none of which succeeded.

On the one hand, buddypress-community doesn’t show up in the codestyle-localization items list (fair enough no .po file to be found there i thought…:wink:, on the second hand, eventhough i followed the codex poedit’s steps one by one i ended up with a catalog update error (no files found in the analyzed directory, incorrect catalog entries…:wink: and no data from the file sources to translate…

I know for a fact that the files actually are coded to be translatable (the _e thing, right?) … sooo i can’t figure it out.

Does anyone have a clue? Better still : anyone with a packaged french .mo file for buddypress-community?

Thx

A.

  • annoneamous
    • WPMU DEV Initiate

    PS : i will happily trade an almost complete (is the reason why i haven’t made it available yet) french localization of WPMU 2.8.4 (based on the one i dowloaded from here) for the buddypress-community, in case it’s of any interest to anyone : – )

  • annoneamous
    • WPMU DEV Initiate

    Hi there,

    The tutorial was helpful… this time i managed to create a .po file…

    I did a bit of translating, then hit the save button… and CRASH goes poedit

    From the log :

    22:50:39: ./functions.php:906: internationalized messages should not contain the `r’ escape sequence

    22:50:39: /var/folders/0a/0aY96t7VHXqZq1sHMJRn2E+++TI/-Tmp-/poedittcqVoi:332: internationalized messages should not contain the `r’ escape sequence

    22:50:39: /var/folders/0a/0aY96t7VHXqZq1sHMJRn2E+++TI/-Tmp-/poeditR4KYfs:332: internationalized messages should not contain the `r’ escape sequence

    22:51:08: /var/folders/0a/0aY96t7VHXqZq1sHMJRn2E+++TI/-Tmp-/poeditLz2d6z/input.po:167:101: invalid control sequence

    22:51:08: /var/folders/0a/0aY96t7VHXqZq1sHMJRn2E+++TI/-Tmp-/poeditLz2d6z/input.po:167:113: invalid control sequence

    22:51:08: /Volumes/Poedit/Poedit.app/Contents/MacOS/msgmerge: found 2 fatal errors

    I know i should probably take this one to a poedit forum, but in case you figure out what’s wrong … would just love seeing it through …

    Thx, again

  • annoneamous
    • WPMU DEV Initiate

    Hi there,

    As i mentioned in my first post i did try the codestyle-localization plugin which can’t detect buddypress-community, even after i tried to upload a .po file (it doesn’t detect any of the WPMU dev premium themes).

    There seems to be a problem with a string somewhere in the source file (i guess… from the error messages).

    As for poedit : i can relate to you not using it that frequently (it does have its drawbacks, but still…:wink:.

    Anyone in the WPMU dev team using poedit?

    Thx anyway

  • Andrew
    • Champion of Loops

    Hiya,

    As i mentioned in my first post i did try the codestyle-localization plugin which can’t detect buddypress-community, even after i tried to upload a .po file (it doesn’t detect any of the WPMU dev premium themes).

    Ah, sorry about that.

    Anyone in the WPMU dev team using poedit?

    Tried it once, couldn’t get it to work properly.

    Thanks,

    Andrew