custom Indic keyboard transliteration : how to

101 Views Asked by At

Here's the thing. You type <KEY> and <MAP> gets printed. where <KEY> is a character in English keyboard, <MAP> is a character in (Odia) Indic language.

<KEY> -> <MAP>
A-> ଅ kh->ଖ  
jif -> ଜୀ   bharq -> ଭାରତ  ahmerika-> ଆମେରିକା   
prhqhibif -> ପୃଥିବୀ

It's not 1->1 mapping, it's a custom algo. I have done it in tkinter textbox (python). But, it doesn't feel native. If you type outside the textbox-> it'll print <KEY>(English).

I'm aiming for printing <MAP> instead of printing the English character- regardless which application you're on. (something like Akruti Software)

How to do it in a way that feels native and seamless. Any ideas/pointers ?

1

There are 1 best solutions below

0
On

Here is an code snip that maps out key 'a' to a unicode value. Here's my personal project on Odia Transliteration

Implemented in C++. (to make it universal and fast).