So far, there are technical issues that prevent the integration of WP Maintenance with WP Multilang. I will correct them in the next release.
Here is a quick version of the configuration for this plugin. Maybe he’s not full. You need to see which variables are contained in the’ wp_maintenance_settings’ option to customize precisely for you.
{
"options": {
"wp_maintenance_settings": {
"titre_maintenance": {},
"text_maintenance": {},
"text_bt_maintenance": {},
"title_newletter": {}
}
},
"admin_pages": [
"toplevel_page_wp-maintenance"
]
}
Has no effect. I’ll wait for your next release… then I’ll check again, more in-depth.
Thank you again VaLeXaR! Great support !!!
Regards,
-
This reply was modified 8 years, 8 months ago by
Anticosti.
To apply the new configuration, you must enable / disable any module or switching theme. The plugin looks for the configuration only after the action. Maybe I will change this for an active topic in the future.
-
This reply was modified 8 years, 8 months ago by
VaLeXaR.
With your guidance, I can now — at least for now — get the “Message” translated.
In your code above, I just swaped this line:
"text_maintenance": {},
for this:
"wp_maintenance_settings[text_maintenance]": {},
Although, to be able to monitor what I am doing, with the Language Switches, I had to add this line to my theme’s functions.php file:
if ( function_exists ( 'wpm_language_switcher' ) ) wpm_language_switcher ();
Should be good to go now…
Cheers,