Details
Description
Moodle.com Staff:
We received the following from a client using Moodle 1.9.4+:
The format of the email that is sent through a forum in the Farsi site is very messed up. The post looks good in forum, but the email that the students receive is not correct: the text alignment that should be right to left is left to right and also the lines are messed up. How can I fix this problem?
Does email sent by the forum adapt formatting based on the language being used on the site? If not, what do you suggest as a solution?
Regards,
Thom
This may be a problem because we do not know in language of text of the forum post - it might be a random mixture of multiple languages each with different lang.
We know:
If I remember it correctly we are guessing text direction from user's current (== default profile lang+course forced) language for that specific forum.
But ideally we should know the language and hence the direction from the text itself, but how to do that?
- site default language
- course default language
- user preferred language
If I remember it correctly we are guessing text direction from user's current (== default profile lang+course forced) language for that specific forum. But ideally we should know the language and hence the direction from the text itself, but how to do that?