localisation issue of mo file
-
Hi, I’ve installed the 0.8.3.1 version into the wordpress v2.3.2 directory.
I tried to localise bbpress in french using the fr_FR.mo found in http://www.adilade.fr/blog/41/bbpress-traduction-francaise.html#comment-281
But when I add the french mo file in bbpress/bb-includes/languages, and the line
define(‘BBLANG’, ‘fr_FR’);
into config.php file
I’ve the Fatal error: Cannot redeclare class cachedfilereader in E:wampwwwhyporecrs_next2bbpressbb-includesstreams.php on line 163
After many hours of research and tests, the problem seems to be due that there is a confict between wordpress fr mo file and the bbpress one.
Note that to use the header and the footer from wordpress in bbpress, I’ve added:
define(‘WP_BB’, true);
if ( !defined(‘DB_NAME’) ) {
require_once( dirname(__FILE__) . ‘/../wp-config.php’);
}
into the config.php file
(the bbpress template could then use get_header(); and get_footer(); of wordpress which is very convenient)
Please how can I solve this issue ?
thanks in advance
- You must be logged in to reply to this topic.