Lilt supports Right-to-left (RTL) and Left-to-right (LTR) directional marks in the CAT editor. These controls are used to set the way adjacent characters are grouped with the respect to text direction.
For translating from English to the Arabic language without an LRM mark, the browser would render the phrase like "The language C++ is a programming language used..." in to the target like this:
لغة ++C هي لغة برمجة تستخدم...
With an LRM entered in the editor after the ++, appears like this, as the writer intends:
لغة C++ هي لغة برمجة تستخدم...
Simply enter one of the marks directly after the word to change its direction, via the "Insert" tab as pictured below:
or using one of the following keyboard shortcuts:
Marker | Windows Shortcut | Mac Shortcut |
Right-to-Left (RTL) |
Ctrl + K | ⌘ + K |
Left-to-Right (LTR) |
Ctrl + L | ⌘ + L |
This video demo shows how the marks work.