Overview
When M-Files sends Notification emails, you can define the email body to use RTL format instead of the default LTR by modifying the Prolog section of the notification settings within M-Files Admin or using Notifications_template.txt for earlier versions than 20.04.
Solution / Workaround
For M-Files version 20.4 or later, you can make the changes within the Prolog section using the path below in M-Files Admin:
Vault > Configuration > Advanced Vault settings > Notifications > Notification Templates > Email Templates > Default > Template Sections > Prolog > Template entry.
The HTML tag within the code should include 2 attributes to indicate the direction and the language code (e.g., ar, he) like this: <HTML dir = "rtl" lang = "<Language_code>">
In the case of earlier versions of M-Files, add the following two parameters inside the HTML tag in the Notifications_template.txt (https://www.m-files.com/user-guide/latest/eng/personalizing_notification_messages.html?hl=notifications_template):
<HTML dir = "rtl" lang = "<language code>">
Replace the language code with the needed language, for example, Hebrew (he), Arabic (ar)
After changing the Notifications_Template.txt the M-Files Server service needs to be restarted for the changes to have an effect.
