dear people,

does any of you how can I get the site off-line message translated?

I am actually using some multilingual variables in D6.2 like

'site_name',
'site_slogan',
'site_mission',
'site_footer',

and they work fine, but no idea if site off-line has a variable I could use in my settings.php

thanks in advance.

Comments

riccardoR’s picture

I translated the built-in "off-line message" using the Translation Interface.

Go to "/admin/build/translate/search" and search for this string:
@site is currently under maintenance. We should be back shortly. Thank you for your patience.

Regards,
Riccardo

metabits’s picture

@riccardoR: Thanks for your suggestion, but this strings you talk about are already translated and I don't know why but always shows the text I have for the message in my site maintenance settings, no matters what language I choose for the site.

Anyway, I am looking for a solution that localizes a custom text as well. This is why I am asking if anybody knows the multilingual variable for it, if existing and working... Or any other method that could do the trick.

Any bright brain around to bring some light to the darkness of ignorance?

riccardoR’s picture

The built-in message and its translations are shown after you press the "Reset to defaults" button in Site Maintenance settings.

Anyway,
the name of the variable you are looking for is:
'site_offline_message',

If you need to localize other variables, just view the generated page source in your browser and look for "name=" of their textarea/input field : that is the name of the variable.
Using FF/Firebug it takes just seconds.

metabits’s picture

1000 Thanks!

riccardoR’s picture

Status: Active » Fixed

You are welcome

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.