How can I translate Hindi to English?
eg. खाया should be converted to khaya
The language is not a bar.
Is there anything in the python library for transliteration?
The less trashy transcoder I know is sanscript . It is designed to transliterate Sanskrit text, but, of course, is also suitable for Hindi, as they both use the Nagari notation. There are some problems in the code, and it does not do any input validation, but has a large selection of scripts (not just Nagari).