Correct grammatical flaws in the following sentence
This has discourages them from attending the training course as it is conducted in English.
This has discouraged them from attending the training course as it is conducted in English.