Format long SQL stmts, fix format errors
Fix SQL bug no course ID + add error
Update french & spanish translations