Support » Plugin: WP Native Dashboard » Language doesn't change for plugins

Viewing 5 replies - 1 through 5 (of 5 total)
  • I also have this problem. Did you ever find a fix?

    I have a similar problem with my Formidable Forms plugin. It’s Dashboard displays in the frontend language (German) when every other plugin Dashboard displays correctly in the backend language (English).

    I raised a support query with Formidable but they said the plugin relies on standard WordPress language switching so no real info.

    The only fix I can do is do remove Formidable’s mo and po language files so that it is forced to display in English throughout.

    Is there any information on how WP Native Dashboard works with plugins that might help us find a solution to this?

    Plugin Author codestyling


    The problem is, that the plugin “Duplicator” loads the translation file during it’s load phase and not during the initialization phase of WordPress. So no other plugin has the chance to change globally languages in between cause it takes the one from wp-config.php always!

    I have change the file “duplicator.php” (v0.4.6) line 226/227 and disabled the loading here:

    //load_plugin_textdomain('wpduplicator', FALSE, dirname(plugin_basename(__FILE__)) . '/lang/');

    After disabling the loading in such a unreliable way I did insert after the disabled line:

    add_action('init', 'duplicator_load_textdomain');
    function duplicator_load_textdomain() {
         load_plugin_textdomain('wpduplicator', FALSE, dirname(plugin_basename(__FILE__)) . '/lang/');

    So loading will be performed during init hook of WordPress. Now all works as expected with the “Duplicator” plugin. Please inform the author of this plugin to implement a correct hook based loading of translation files to permit other plugins choosing right languages etc.

    Important: Most cases where plugins doesn’t get translated well are driven be the wrong time the translation file gets loaded. The plugin authors should load them as late as possible (this also safes the ammount of memory used, if the plugin never performs an action to produce the current requested page – front or admin)



Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Language doesn't change for plugins’ is closed to new replies.