Page 1 of 1

Multiple e-mails, in all languages, for every success or failure

Posted: March 1st, 2011, 6:07 pm
by Effenberg0x0
I am receiving a dozen e-mails, one in each language, obviously same content, for each finished job fail / success.
Disabling e-mail notifications quick fixes it. But re enabling for errors only still gets me emails for success/failure in all of the worlds languages.
Can I delete other languages files from mail and locale folder to avoid this behavior?

Thanks,
Effenberg

Re: Multiple e-mails, in all languages, for every success or failure

Posted: March 1st, 2011, 6:17 pm
by shypike
Did you copy all the standard email templates to your own template folder?
If so, then language recognition no longer works and all the templates are used.

Re: Multiple e-mails, in all languages, for every success or failure

Posted: March 1st, 2011, 6:25 pm
by Effenberg0x0
I didn't have the mail folder before. It's dated as created today. I think it was created when I ran python tools/make_mo.py? I don't hqave logs to check this... Anyway, all language templates are there, yes.
I thought there was a language detection or based in the selection at the wizard. I will remove all other languages to somewhere else then.

Thanks,
Effenberg


EDIT: In fact, #cd email && rename 's/.tmpl/.tmpl.old/' *.tmpl && mv email-us-en.tmpl.old email-us-en.tmpl solves the issue.

Re: Multiple e-mails, in all languages, for every success or failure

Posted: March 2nd, 2011, 3:04 am
by shypike
When you actually set a "template" folder, language selection is off.
When you don't set a template folder, SABnzbd will look in its hard-coded
template folder path and pick only the template matching your selected language.