Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Translate email sent with SMTP Server Settings
#1
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.
Ranieri
eCRM Web
Reply
#2
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.
Joe
TSolucio
Reply
#3
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');
Ranieri
eCRM Web
Reply
#4
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
Joe
TSolucio
Reply
#5
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.
Ranieri
eCRM Web
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)