Persian /Farsi / Arabic Alphabet - Automatic character change after space
When typing Farsi in a text box or textedit, after each space, there is an algorithm behind the scenes that changes the letter/ character to a variation of that character that sometimes is not what users want. It basically enforces certain rules and I could not find a way to change the behaviour.
For example: "ها" at the end of a Persian noun, changes the noun to plural like "s" in English.
book : کتاب
books: can be written in two forms: "کتابها" or "كتاب ها" without the space between "ب" and "ها". If one attempts to delete the space=" " in "كتاب ها", it changes the word presentation to "کتابها"
In traditional Persian/Farsi keyboards, like English keyboards, pressing SHIFT would give you Capital / other forms of the character. In this smart keyboard, we don't have this option.
I can think of three solutions for that:
- Apple introduces a new character/or feature like SHIFT+SPACE which basically tells the algorithm not to insert the space but apply the algorithm like there is a real space and let the user continue typing like there was a space in between.
- provide all the variations of each alphabetic letters so that users can select the one they want.
- or like accent letters, holding the base letters should give all the variations of the same letter and if a user choses one of the variations, the user should be able to continue without correction from the algorithm. (Note, like English, in Farsi there are B="ب" and b="بـ" and "ـب" "ـبـــ". On the keyboard, "ب" is the only option and the algorithm decides which form to use. )
Please let me know if there is an existing workaround / solution to modify the rules of this algorithm.
Note: I selected macOS but this applies to iOS as well.
Thank you.
MacBook Pro 13", macOS 10.14