Search

bbPress Showcase » bbPress Chat

  1. kikko088
    User has not uploaded an avatar

    member
    Joined: Aug '10
    Posts: 14

    offline

    I have install this plugin, i put the .mo file but if I try to change the language nothing...the language remains the same language.
    can you help me?
    ps. I modify bb_config

    Posted 1 year ago #
  2. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 908

    offline

    Hmm. Well make sure you allow cookies, but if you are admin you probably already allow cookies.

    Also when you add languages, you need to either deactive/reactivate the plugin or go to yourwebsite.com/forums/?bb_language_switcher_update

    Posted 1 year ago #
  3. kikko088
    User has not uploaded an avatar

    member
    Joined: Aug '10
    Posts: 14

    offline

    cookies are already allaw, I try to deactivate/activate a few times, i use http://www.endurodoc.net/forum/?bb_language_switcher_update

    but nothing, this is the site http://www.endurodoc.net/forum/

    kikko088

    Posted 1 year ago #
  4. kikko088
    User has not uploaded an avatar

    member
    Joined: Aug '10
    Posts: 14

    offline

    I find the problem, but i don't know how resolved, the problem is the integration with wp, if I put:

    require_once('/home/xxx/public_html/wp-load.php');

    on bb-setting.php

    the plugin don't work, i I remove this line the plugin WORK

    Posted 1 year ago #
  5. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 908

    offline

    Oh you are trying to deep integrate with WordPress.

    Even without this plugin that is known to cause problems when trying to use language files.

    You'd have to research on bbpress.org as I am not familiar with the specific problems, I tell people to avoid deep integration at all costs.

    Posted 1 year ago #
  6. kikko088
    User has not uploaded an avatar

    member
    Joined: Aug '10
    Posts: 14

    offline

    Ah ok, i want to do the deep intagration for have a menu with the page list.
    Now I try to explain the question on bbpress.org.

    Thank you for all!

    kikko088

    Posted 1 year ago #
  7. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 908

    offline

    If all you want is the menu page list then have WP write a static file and just include the html directly into bbpress.

    Deep integration for just that is bad, it makes then entire forum slow.

    Posted 1 year ago #
  8. TraderZed
    User has not uploaded an avatar

    new member
    Joined: Sep '10
    Posts: 2

    offline

    Hey ck, forgive me if there's a really easy way to do this, but I haven't been able to figure out it. Is there a way to get the current language as a variable? I basically want to include a different file for French, but can't seem to find a variable I can use.

    Zack

    Posted 1 year ago #
  9. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 908

    offline

    The easiest way might be to read the cookie directly with PHP.

    $language=bb_language_switcher_filter();

    and check if $language is set to what you want (it might be empty too).

    Posted 1 year ago #
  10. TraderZed
    User has not uploaded an avatar

    new member
    Joined: Sep '10
    Posts: 2

    offline

    Damn.. works like a charm.

    Thanks so much ck.

    Z

    Posted 1 year ago #

RSS feed for this topic

Post a reply to “bbpress language switcher”

You must log in to post.

keep _ck_ coding >> donate $5 <<     Theme Switcher:
43 users online from in the past 30 minutes. 19 bots 24 guests
3,526 views today 8,638 yesterday 16,043 peak. Most at once 47 today 60 yesterday 131 peak. Visited today: qamilon, pandoracam, lvgalliera
2,288 posts in 394 topics over 66 months by 430 of 2,165 members. Latest: qwe12345100, Janvelden, watchessaleus