Translate email sent with SMTP Server Settings - Printable Version +- CoreBOSBB (https://discussions.corebos.org) +-- Forum: Support (https://discussions.corebos.org/forumdisplay.php?fid=17) +--- Forum: Administrator Support (https://discussions.corebos.org/forumdisplay.php?fid=8) +--- Thread: Translate email sent with SMTP Server Settings (/showthread.php?tid=1070) |
Translate email sent with SMTP Server Settings - rslemer - 05-01-2018 When admin change a SMTP Server Outgoing email, system sent a email for test if settings working correctly I think sometime in past, system translated this test for admin language, but now system always put text in english. RE: Translate email sent with SMTP Server Settings - joebordes - 05-01-2018 That email has always been in English: https://github.com/tsolucio/corebos/blob/master/modules/Settings/Save.php#L32 I didn't have plans to translate it. RE: Translate email sent with SMTP Server Settings - rslemer - 05-02-2018 Joe, Not is possible included this in globalVariables, like already exists in code, others variables with same proporses? Example: $HELPDESK_SUPPORT_NAME = GlobalVariable::getVariable('HelpDesk_Support_Name', 'your-support name', 'HelpDesk'); RE: Translate email sent with SMTP Server Settings - joebordes - 05-02-2018 This has nothing to do with global variables, it is just text that should be translated. I really don't see the issue because it is an email you get once or twice and it is only one line nobody really reads but I created an issue anyway: https://github.com/tsolucio/corebos/issues/268 RE: Translate email sent with SMTP Server Settings - rslemer - 05-03-2018 I agree with you, Joe. But I found others variables moved from config.inc.php to global variable, only for that a suggested used one more, and allow translated complete process ( without many code effort ). Ok, this emails is rarely used, but if system have a propose to be a multilingual, I think all messages and text, should be translated. |