Skip to:
Content
Pages
Categories
Search
Top
Bottom

Translation : text domain correction (bug to fix)

  • Avatar of meg@info
    meg@info
    Participant

    @megainfo

    Hi,

    I just try the new version of cubepoint integration 1.9.8.4 with cubepoint 3.1 ,

    the text domain in templates cubepoints-buddypress-integrationincludestemplates is cp_buddypress

    but in b-corepoint-core.php line 23

    Code:
    load_textdomain( ‘bp-cubepoint’, dirname( __FILE__ ) . ‘/languages/bp-cubepoint-‘ . get_locale() . ‘.mo’ );

    correct to

    Code:
    load_textdomain( ‘cp_buddypress’, dirname( __FILE__ ) . ‘/languages/bp-cubepoint-‘ . get_locale() . ‘.mo’ );

    I prefer using this code , but not work and i dont know why

    Code:
    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 :P.

The topic ‘Translation : text domain correction (bug to fix)’ is closed to new replies.