WordPress.org

Ready to get started?Download WordPress

Forums

BuddyPress Activity Plus
[resolved] The language file is a joke? (5 posts)

  1. entreosos
    Member
    Posted 1 year ago #

    I translated the Spanish language is your plugin and your script does not use the language file. :P
    I had to translate the file class_bpfb_binder.php

    http://wordpress.org/extend/plugins/buddypress-activity-plus/

  2. Hello there @entreosos, I hope you're well today!

    Could you please tell me what you have specified in your wp-config.php file under on the define('WPLANG', ''); line?

    Cheers,
    Ari.

  3. WPMUDEV
    WPMU DEV Support Staff
    Plugin Author

    Posted 1 year ago #

    Hey again.

    Haven't heard from you in a short while so I just wanted to check in and see how things are going here?

    If you still need some assistance then by all means just reopen the thread or create another one for any new and related issues.

    Cheers.

  4. Juanfrito
    Member
    Posted 1 year ago #

    Hi, I know what happened to @entreosos,

    The name of the po file that comes with plugin is bpfb-default.po
    I tried to translate it and uploaded bpfb-default-es_ES.po (in my case my language is es_ES). It didn't work, but if you open buddypress-activity-plus/lib/class_bpfb_binder.php you'll see that the translation looks for bpfb, for example:
    'add_photos' => __('Add photos', 'bpfb')
    So to solve it simply rename the po file into bpfb-es_ES.po and that's it!

    Perhaps the author might consider changing the name of the original file, or writting some info about it in the readme file or something.

    Regards

  5. ellbristow
    WPMU DEV Support Staff
    Posted 1 year ago #

    Hi @juanfrito,

    Thanks for this feedback. Actually I would tend to agree with you that the file should be named bpfb.po. I will forward this to the developer for consideration.

    I'm glad you managed to get your issue sorted.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.