Viewing 11 replies - 1 through 11 (of 11 total)
  • I want to know the same ??

    Plugin Author Tosh

    (@xberserker)

    If you could go to the bp-cubepoint-core.php file and look for this at the top of the file:

    load_textdomain( ‘bp-cubepoint’, dirname( __FILE__ ) . ‘/languages/bp-cubepoint-’ . get_locale() . ‘.mo’ );

    and replace it with this:

    load_plugin_textdomain(‘cp_buddypress’, false, basename( dirname( __FILE__ ) ) . ‘/languages’ );

    Then report back if that worked or not.

    Thread Starter BobQuentok

    (@bobquentok)

    Sorry, it does not work :/ (I assume cp_buddypress-de_DE.po/mo is the correct name)

    But I got this error on the top of my website when your plugin was enabled: Warning: Division by zero in /kunden/282547_04105/webseiten/wp/wp-content/plugins/cubepoints-buddypress-integration/includes/bp-cubepoint-core.php on line 23

    Plugin Author Tosh

    (@xberserker)

    Try replacing your bp-cubepoint-core.php file with this – https://pastebin.com/aKzKMzjN

    Can you upload your .mo/.po files somewhere so I can try as well? Which language is this?

    Thread Starter BobQuentok

    (@bobquentok)

    Doesn’t work :/

    Here is my .po (https://dl.dropbox.com/u/23719340/GzG/cp_buddypress-de_DE.po) and .mo (https://dl.dropbox.com/u/23719340/GzG/cp_buddypress-de_DE.mo) file
    It’s German btw! ??

    Thanks for your help!

    Plugin Author Tosh

    (@xberserker)

    I downloaded those files and put them in the language folder within the CubePoints BuddyPress plugin. Then added this to my wp-config.php file

    define ('WPLANG', 'de_DE');

    No errors. I do see some parts of my site translated to German. But nothing related to Cubepoints. My test site is running WordPress 3.3.1, what are you running?

    Thread Starter BobQuentok

    (@bobquentok)

    Hi Tosh. Yes, there are no errors! They were only when I replaced the code you introduced here. After using the code you posted on pastebin there were no more errors.

    My site runs WordPRess 3.3.2 and yes, nothing CubePoints related is translated :/

    Thread Starter BobQuentok

    (@bobquentok)

    Have you any news? :/

    Plugin Author Tosh

    (@xberserker)

    Sorry was on a trip in Japan for most of July. Think I have this sorted out now. I’ll be pushing a update tonight if I have time.

    But replace your bp-cubepoint-core.php file with this – https://pastebin.com/EZxZFB9R

    You should be good to go. I’ve tested it with the files you sent me and it translated it into german just fine.

    I’ll add your german translation to the updated plugin when I push a update.

    Thread Starter BobQuentok

    (@bobquentok)

    Thank you for your help! ??

    I’ll try this soon.

    Thread Starter BobQuentok

    (@bobquentok)

    Hey Tosh, this solution works!! Thank you very much! ??

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Plugin: CubePoints Buddypress Integration] Translation’ is closed to new replies.