bilibou (@bilibou)

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • In reply to: php_e() issue

    Youhou I think I found a more simple solution than merging bbpress and wordpress language file:

    – Download your bbpress language file (for me fr_FR) then rename it using another name than the language file you use for wordpress (in my case my wordpress language file is fr_FR and I renamed it in ru_RU) then put it inside your /wp-content/languages folder.

    – duplicate wp-blog-header.php and rename the copy as wp-blog-header-bb.php

    – duplicate wp-config.php and rename the copy wp-config-bb.php

    – open wp-blog-header-bb.php and replace the two occurences of wp-config.php by wp-config-bb.php

    -open wp-config-bb.php and replace the line define (‘WPLANG’, ‘yourlanguage’);

    by define (‘WPLANG’, ‘newnameofyourbbpresslanguagefile’); (in my case I replaced define (‘WPLANG’, ‘fr_FR’); by define (‘WPLANG’, ‘ru_RU’);)

    -In your bb-config.php replace wp-blog-header.php by wp-blog-header-bb.php

    You’re done now each time bbpress loads wordpress will load your bbpress language file instead of the wordpress one.

    I hope my explainations were clear.

    A++

    In reply to: php_e() issue

    I tried that but there is apparently a problem when mergin because when I open the merged file there is nothing from bbpress language file inside.

    Can I use copy paste to merge the two files ??

    In reply to: php_e() issue

    So at the moment there is no simple solution ???

Viewing 3 replies - 1 through 3 (of 3 total)