fix bug #4832 select language for email content when invite a friend