DP Maintenance Mode Lite
DP Maintenance Mode Lite - Translation, localization (6 posts)

  1. estepix
    Posted 2 years ago #

    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!!!


  2. estepix
    Posted 2 years ago #

    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?

  3. dpereyra
    Plugin Author

    Posted 2 years ago #

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


  4. estepix
    Posted 2 years ago #

    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.

  5. Pavel Bilek
    Posted 2 years ago #

    Czech translation is available for download at http://www.chcistranky.eu

  6. dpereyra
    Plugin Author

    Posted 2 years ago #

    @estepix you are right, sorry.

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


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • DP Maintenance Mode Lite
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic