Are you loading WordPress inside bbPress? If so the textdomain does not get loaded due to the fact that it is called “default” like the WordPress one.
If you merge the language files of WordPress and bbPress and load it in WordPress it should work.
Thank you for answering! I am afraid I do not understand what you are writing. I do not think I am loading (I am not quite sure what that means) WP into bbP, I just want to integrate in such a way that a reader do not have to login twice to comment on the we site and also in the forum. So my plan is to change the look (skin) of bbPress to be like my WP. I understand this is better from a performance view.
I do not understand what merging of the language files means and how to do it. Please elaborate!
My aim is to make my forum look like my web site. I succeded to a small degree by creating a header that is the same as for my web site. Unfortunately it meant that the layout of the forum changed in a way I do not know how to fix. At http://www.goranlindgren.se/forum/ you can see how far I came. The header is ok but the rest of the page got changed in unexpected ways. My plan was to use the header but have the forum look more like another forum I have at http://www.32astolf.se/forum/
Advice on how to proceed is most welcome!
There are a few other bbPress installtions in Swedish but they also cannot handle Swedish names. There must be many other languages with non-English characters. How do they handle it?
define('BB_LANG', 'sv_SE.mo');
.
I just realised that you may not have a language file for bbPress installed at all. bbPress does not come with any language files by default. You need to download them separately and follow the instructions in the bb-config.php file about where to put them.
The language file you are after should be here…
http://svn.automattic.com/bbpress-i18n/sv_SE/trunk/
Yes, I have a language file. As I wrote in my first post:”I specified
define(‘BB_LANG’, ‘sv_SE.mo’);
in the config.php and included sv_SE.mo in a folder called languages in bb-includes”
And I have a language file for WP to. But I do not understand what you mean by merging them?
This is getting to complicated for me. I have given up trying to integrate WP and bbPress. But I still want to try get them look similar. So I deleted my bbPress-tables from the database and deleted all the bbPress-files and started new.
But got new problems, when the installation was made I got a warning:
Warning: getmypid() has been disabled for security reasons in /data/members/paid/e/n/enkelwebbplats.se/htdocs/www/forum/bb-includes/class-phpass.php on line 43
Warning: Cannot modify header information – headers already sent by (output started at /data/members/paid/e/n/enkelwebbplats.se/htdocs/www/forum/bb-includes/class-phpass.php:43) in /data/members/paid/e/n/enkelwebbplats.se/htdocs/www/forum/bb-includes/functions.php on line 2258
I only understand that this relates to passwords and when I tried to log I could not and got a not exact but similar warning and could not log in. I tried to register but the password I was given did not work.
I am getting frustrated. Now I cannot create a non-integrated forum. Please, please help!!!
Did my attempt to integrate WP and bbP change my WP-tables in the database?
I tried unsuccessfully to install bbPress again but got the same warning. Now I deleted all tables from my database, both WP and bbP and deleted all program files also. I will make a new try tomorrow but without any attempt to integration. I will install WP and import posts from the exportfile I made before deleting the database.
Any other suggestions?
The getmypid function being disabled has been discussed before. Since it’s used to generate a random state, you can safely remove (I think) that function call and still be able to continue. You just lose the pid being concatenated with the other number when generating the random state.
https://bbpress.org/forums/topic/error-forum#post-16234