Support » Plugin: bbPress - Moderation Tools » Support for localization

  • Plugin is missing support for localization, simple mod in moderation-tools-bbpress.php

    /*
    Plugin Name: bbPress - Moderation Tools
    Description: Extends the basic bbPress moderation tools to give you more control over your Forum.
    Author: Digital Arm
    Version: 1.2.4
    Author URI: https://www.digitalarm.co.uk
    Text Domain: moderation-tools-bbpress
    Domain Path: /languages/
    */

    (The last two lines with Text Domain and Domain Path)

    And add something like

    function mtfb_load_plugin_textdomain() {
            load_plugin_textdomain( 'moderation-tools-bbpress', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
    }
    add_action( 'plugins_loaded', 'mtfb_load_plugin_textdomain' );

    It’s completely localized with the right functions but it’s missing the last bit.

    Please feel free to apply it or introduce it in the place you feel it fit best.

    • This topic was modified 11 months, 1 week ago by SirLouen.
  • The topic ‘Support for localization’ is closed to new replies.