![]() |
language converter in php
Hi,
I have to make a language (literal) converter in php from english to hindi. i dont want the hindi translation of the word. just typing the same words in hindi if i type 'baloon' in english, it will convert as it is into hindi ( बलून ) ् I mean it only typing word 'baloon' in hindi using hindi letters rather than english. any idea???? |
You mean a dictionary not a true translation of sentences.
I don't know if there is any free data out there, there are similar services online tho which might have an API: Search: hindi dictionary - Google Search This looks like what you want: Shabdanjali - English Hindi Dictionary | www.shabdkosh.com The coverage of words might small tho. More: hindi dictionary download gpl - Google Search |
Dunno if this will be of any use, but i have quickly botched a class to translate words using Google Translate.
Its a bit of a mess but it works, it also uses CURL and PHP DOM XPath. PHP Code:
PHP Code:
|
| All times are GMT. The time now is 11:45 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0