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

This is my first contribution. 
I hope that does not have errors :smiley: