Compatibility between bbPress and Polylang
-
Hi everyone.
I’m developing a web site with multilingual support, using WordPress 3.4.2 and the Polylang plugin 0.9.4 . I’d love to add a forum to the site, so I downloaded, installed and activated bbPress 2.1.2 .
The first problem was that bbPress didn’t switch from one language to another, always keeping the default WordPress language. I solved this calling again bbpress()->load_textdomain() before loading the header template:
function cbp_bbPressTranslate(){
bpress()->load_textdomain();
}
add_action(‘get_header’,’cbp_bbPressTranslate’);This worked great, but soon other problem appeared. If topics and replies doesn’t have translations, they doesn’t show up. I can add translation posts for they from the admin panel, but of course my users can’t. I’ve isolated the problem to the Polylang plugin: switching back to Twenty Eleven theme and deactivating all plugins but Polylang didn’t do anything. Deactivating Polylang showed the topics again.
Anyone can help me? Encouraging words will be welcomed too! ??
- The topic ‘Compatibility between bbPress and Polylang’ is closed to new replies.