I have a web app that is frequently updated, so we use php arisan down with the --render option to display a helpful blade php view to let users know that we will be back soon.
The page is displayed in English, but a significant portion of my users are Francophone. I am unable to get the right locale app()->getLocale() or relevant session session()->get('Accept-Language') or request request()->getPreferredLanguage() data on the rendered maintenance page. The Accept-Language key isn’t even present in the $_SERVER variable. I suspect that is because that a significant portion of the app isn’t booted up in maintenance mode.
How do I get or set the right locale information for the rendered maintenance page so that French users can see it translated?