Group Admins

  • Avatar Image

Fluency Admin

Public Group active 9 months ago

Get support for the Fluency Admin plugin.

Italian translation and missing ”load_plugin_textdomain” call (2 posts)

← Group Forum   Group Forum Directory
  • Avatar Image Daniele said 10 months ago:

    I’m really excited about your (long-awaited for me!) new release of Fluency Admin! Thanks!
    Since I sent you the Italian translation for 2.x branch, I thought I would immediately begin to translate this new version also, but I could not find the ”load_plugin_textdomain” action in your code, so I’ve added it this way:

    #around line 72 in the init() function of your class, just before any add action
    add_action(’admin_init’,array($this,’wp_fluency_textdomain’));

    #around line 660 (as the last public function of the class)
    /*
    * Load TextDomain for translations
    */
    public function wp_fluency_textdomain() { // l10n
    load_plugin_textdomain( ’fluency-admin’, ’wp-content/plugins/’ . plugin_basename(dirname(__FILE__)) . ’/lang’, ’’ . plugin_basename(dirname(__FILE__)) . ’/lang’ );
    }

    Furthermore, you can find the italian translation here:
    http://www.w3b.it/download/fluency-admin-3.2-it_IT.zip

    Hope you can fix this in the next upcoming release.

  • Avatar Image Dean Robinson said 10 months ago:

    Yeah this was an oversight on my part, I completely forgot to put the “load_plugin_textdomain” function call back in because I didn’t have any translations that worked with the new version.

    Thanks for the italian translation, will include it (and the fix) in the next update