WordPress.org

Ready to get started?Download WordPress

Forums

Polylang
Buddypress support (8 posts)

  1. Sami kamal
    Member
    Posted 2 years ago #

    First of all thanks for this great plugin.. I mainly work work with buddypress which in the 1.5.x version added support for wordpress pages to give each component its own page.. that's great, now to make these pages multilingual (only page title and SEO information not content) I installed your plugin and it does translate the page title but the buddypress components are missing in the page..
    I would highly appreciate if you can add support for buddypress so we can translate the page title and SEO information.

    thank you so much
    Sami

    http://wordpress.org/extend/plugins/polylang/

  2. Chouby
    Member
    Plugin Author

    Posted 2 years ago #

    I am sorry to disappoint you, but support of BuddyPress is far out of my scope for the moment. It is pure luck if something works. I have to make choices and prefer to go on working on WP core functionalities that Polylang does not support yet (media for example). I hope you will understand my point.

  3. carlla
    Member
    Posted 2 years ago #

    I'm facing the same problem. It's seems that buddypress is too early to load textdomain when polylang is active.

    [filter] override_load_textdomain
    > Polylang break loading all the mofiles

    [action] plugins_loaded
    > buddypress register its nav_itens. In this point bp already use __() and _e() functions to name its components, but no mofile was loaded yet

    [action] wp
    > load mofiles, only since this point the translate will work. But it's too later to translate most part of buddypress.

    I'm looking a way to fix it. Any idea?

  4. carlla
    Member
    Posted 2 years ago #

    I changed this line on bp-core.php

    from
    add_action( 'bp_loaded', 'bp_setup_nav', 8 );
    to
    add_action( 'wp', 'bp_setup_nav', 80 );

    I'm trying this for while. Let's see if it breaks something.

  5. MMaxim
    Member
    Posted 2 years ago #

    Chouby, of course I want to thank you for the great plugin. I understand that your priorities for polylang lie elsewhere than buddypress-compatibility.

    However, can you maybe give me a possible set-up how I can integrate polylang in buddypress by myself? I do not get it done.

    Thank you very much!

  6. Chouby
    Member
    Plugin Author

    Posted 2 years ago #

    Sorry. I don't know Buddypress at all. So I have no clue of what has to be done.

  7. MMaxim
    Member
    Posted 2 years ago #

    Thank you for your very quick response.

    Instead of the lang value in the page-URL or the polylang-cookie, I would like to set the language on a page in a different way by using a function in the init.

    Chouby, do you know a possibility? Can I manipulate polylang by a filter or function in the init?

  8. originalconcept
    Member
    Posted 1 year ago #

    Hi @carlla I saw your post about hiding wp-login, do you have any update about this matter?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic