-
Notifications
You must be signed in to change notification settings - Fork 41
Open
backdrop/backdrop
#5091Description
Description of the bug
The Locale module can translate the values of the system.core.json settings defined by "_config_translatables"
. These are only displayed if the getTranslated()
method is used and not get()
.
"_config_translatables": [
"anonymous",
"site_name",
"site_slogan",
"maintenance_mode_message"
],
Steps To Reproduce
To reproduce the behavior:
- Install Locale module.
- Add a new language. Make it the default language. (admin/config/regional/language)
- Translate (admin/config/regional/translate/translate) this string:
[site:name] is currently under maintenance. We should be back shortly. Thank you for your patience.
- Put site into maintenance mode. (admin/config/development/maintenance)
- Check the maintenance message with the anonymous user.
Actual behavior
The maintenance message is not translated.
Expected behavior
The maintenance message is translated.
Additional information
- Backdrop CMS version: 1.32.x-dev
- [Related discussion](#Backdrop > Config and translation @ 💬)
avpaderno