Make the offline site message multilingual
  • It seems for me that currently the message, when a site is offline, is available only in English. It would be very important to display this in the language of the user, detected by the browser locale.
  • 2 Comments sorted by
  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 844Member, Sourcefabric Team
    Hi József,

    There are a number of templates like that. I will add these to the ticket CS-5571:

    newscoop/application/plugins/Upgrade.php:

                    $this->printMessage("Site is down for upgrade. Please initiate upgrade process.");

    newscoop/application/plugins/Upgrade.php:

                    $this->printMessage("The website you are trying to view is currently down for maintenance.       <br>Normal service will resume shortly.");

    newscoop/application/controllers/LegacyController.php:

                   <h2>The website you are trying to view is currently down for maintenance. Normal service will resume shortly.</h2>

    newscoop/themes/system_templates/_campsite_offline.tpl:

                   <div>This site is offline, please come back later.<br />

    Cheers!

    Daniel
  • Awesome! Thank you, Daniel!