Closed cmaudoux closed 1 month ago
As lang file are php, you can define a var in your conf file and use it in your lang file:
$messages['xxx'] = "Hello {login}\n\n Your $custom_var password has been changed blablabla";
Thanks!
This feature could be documented :wink:
Hello,
We are using ServiceDesk for managing different LDAP for different SSO platforms. For this purpose we employed multi-tenancy feature and an HTTP header to load different conf files.
Lang files can be customized depending on lang type FR, EN and so on...
It could be nice to dynamically adapt all SD messages by using an option. This option could be set in conf files or by using an HTTP.
By example:
" Hello {name}\n\n Your {custom_var} password has been changed blablabla"
Cheers