We currently have a multistore Magento 2 set up, we have a custom maintenance page set up using /pub/errors/default/503.phtml, this shows fine when the sites go into maintenance mode, we however want to show a translated message on each page rather than it just being in English. Is this possible?
Magento – Multistore Maintenance Mode Magento 2
magento2.2maintenance
Best Answer
Untested, just quick code check ... and it seems it works the same way as in Magento 1.
From Translate Maintenance mode per website in multiwebsite-multidomain setup
Maybe you try to adopt the ideas from there ...
Edit:
https://devdocs.magento.com/guides/v2.2/install-gde/install/cli/install-cli-subcommands-maint.html
Soo its not possible oob ..
Update:
Found another way for translated maintenance page:
In you .htaccess add an rewrite rule that appends a
skin
parameter to your URL. Eg.Copy
pub/errors/default
topub/errors/french