Unable to activate translation

Hi everybody,

I am trying to do a translation in to German for the forums plugin. I am using the CodeStyling Localization Plugin for it.

Unfortunately what ever I name the the .po .mo files (de_DE.mo, forums-de_DE.mo, wpmudev_forums-de_DE.mo) or wherever I place (Main plugin folder or under languages), there is no result?!

Is there anyone to the who can give me a hint what I am doing wrong?

Thanks & Bests

Thorsten

  • Tee
    • The Crimson Coder

    Hi guys,

    There its an error in the code. Can yo pls. exchange in the next update

    function forums_plug_init() {
    if ( defined( 'WPMU_PLUGIN_DIR' ) && file_exists( WPMU_PLUGIN_DIR . '/' . basename( __FILE__ ) ) ) {
    load_muplugin_textdomain( 'wpmudev_forums', WPMU_PLUGIN_DIR .'forums/languages' );
    } else {
    load_plugin_textdomain( 'wpmudev_forums', false, WP_PLUGIN_DIR . '/forums/languages' );
    }

    with

    function forums_plug_init() {
    if ( defined( 'WPMU_PLUGIN_DIR' ) && file_exists( WPMU_PLUGIN_DIR . '/' . basename( __FILE__ ) ) ) {
    load_plugin_textdomain( 'wpmudev_forums', dirname( plugin_basename( __FILE__ ) ) . '/languages' );
    } else {
    load_plugin_textdomain( 'wpmudev_forums', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
    }

    Wich enables translation.

    Thanks

    Thorsten

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.