WordPress.org

Ready to get started?Download WordPress

Forums

BuddyPress Profile Progression
[resolved] Lozalization not working (7 posts)

  1. Andres Felipe
    Member
    Posted 1 year ago #

    Hi

    I just update the plugin, download de pot file and translate it to spanish, upload the bppp-es_ES.mo file but is not working.

    http://wordpress.org/extend/plugins/buddypress-profile-progression/

  2. grosbouff
    Member
    Plugin Author

    Posted 1 year ago #

    Mhh... I have to check. This is the first time I have to deal with Localizations.
    Have you an idea of what is the problem ?

  3. Andres Felipe
    Member
    Posted 1 year ago #

    No, I have not idea but dealing with a similar problem for Buddypress Activity Plus, I found this http://wordpress.org/support/topic/plugin-buddypress-activity-plus-textdomain-fix-for-translation?replies=5 maybe that could help.

  4. lebaigneur
    Member
    Posted 1 year ago #

    Yep, same here, localization in French was not working.
    Fixed it myself thanks to information/link above.
    So, in buddypress-profile-progression.php
    I commented:
    //load_plugin_textdomain($this->prefix, FALSE, $this->plugin_dir.'/languages/');
    and added line
    load_plugin_textdomain( $this->prefix, false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );

  5. Andres Felipe
    Member
    Posted 1 year ago #

    It works, hope this could be fixed in next release.

    Thanks lebaigneur

  6. mecanographik
    Member
    Posted 1 year ago #

    Yes, i confirm your code works :

    public function load_plugin_textdomain(){
                //load_plugin_textdomain($this->prefix, FALSE, $this->plugin_dir.'/languages/');
                load_plugin_textdomain( $this->prefix, false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
            }

    please update the plugin !

  7. grosbouff
    Member
    Plugin Author

    Posted 1 year ago #

    Ok, fixed ! Thanks all !

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic