Support » Plugin: DP Maintenance Mode Lite » DP Maintenance Mode Lite – Translation, localization

  • Hi there,

    I just translated the plugin into Spanish. If I leave the .mo file in the plugin language folder, like this:

    The whole admin part gets translated appropriately, but not the front part. I’m having a difficult time trying to figure out where to place the file so both the admin and front are displayed fully translated.

    By the way if you would like to include the Spanish translation into your plugin, let me know and I’ll send you the .po file so a few Spaniards can enjoy your great plugin!!!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Ok, I just spotted the problem, all translation functions in the admin part (settings.php) contain the text domain string ‘dpMaintenance’, i.e.:

    _e('Enter an URL or upload an image for the logo.','dpMaintenance');

    However none of the strings in the front do:

    <h3><?php _e("Days")?></h3>

    It would be great to include the text domain for all strings in the front part so the plugin could be fully localised. I’m afraid that for the time being I have no choice but to hack the plugin, I’m I right?

    Plugin Author dpereyra


    The frontend part is translated in the options panel of the plugin.


    Sorry to disagree, but in the options panel you can only enter text for some of the strings, but you cannot translate strings like:

    Days, Hours, Minutes, Seconds
    NN% completed!

    Among others.

    Czech translation is available for download at

    Plugin Author dpereyra


    @estepix you are right, sorry.

    I will add the language var so it is easy to translate.


Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘DP Maintenance Mode Lite – Translation, localization’ is closed to new replies.