Translation : text domain correction (bug to fix)
I just try the new version of cubepoint integration 18.104.22.168 with cubepoint 3.1 ,
the text domain in templates cubepoints-buddypress-integrationincludestemplates is cp_buddypress
but in b-corepoint-core.php line 23Code:load_textdomain( ‘bp-cubepoint’, dirname( __FILE__ ) . ‘/languages/bp-cubepoint-’ . get_locale() . ‘.mo’ );
correct toCode:load_textdomain( ‘cp_buddypress’, dirname( __FILE__ ) . ‘/languages/bp-cubepoint-’ . get_locale() . ‘.mo’ );
I prefer using this code , but not work and i dont know whyCode:load_plugin_textdomain(‘bp-cubepoint’, false, dirname(plugin_basename(__FILE__)).’/languages’);
In Cubepoint too, you must name the translation files .mo with cp-xx_xXX.mo and not cp3-xx_XX.mo
I Hope my message help some one and sorry for my bad english .
You must be logged in to reply to this topic.