English words are returned when pasted into RTL

I am creating a program in C # that automatically writes and formats paragraphs in a specific way to form a document for medical use in Office Word. For this I use "Novacode". The problem is that the document is written in RTL, which is sometimes combined in the middle of a paragraph with some English initials. For example, when I want to send someone to magnetic resonance imaging (MRI), it looks like this: xxxx IRM xxxx xxxx (Recall that this is the right to the left language) Or when I want to add an MD or Ph.D signature, it looks like this: xxxxx DM D.Ph xxx xxx

However, if I MANUALLY change the keyboard language to English, and then type in the English initials, they are added just fine!

However, the program should do this ... And even if, when entering text in the program, the paragraph looks fine when the word document is created, it ignores my translation of the language into English in the middle and inverting the English initials, as I explained.

Any ideas?

+4
source share

All Articles