Dynamic Language Tools is a bookmarklet application which loads dynamically in any browse page and provides you the instant Language Translation and Transliteration support.
The transliteration feature helps you in reading and writing by converting the roman words to the corresponding language phonetic words. For example, if you type "Shukria", the transliteration to Urdu will convert this to شکریہ
.
Translation on the other hand is the comprehension of the meaning of a text and the subsequent production of an equivalent text. So far example, if you translate the word "Thanks" from English to the Urdu, it will appear as شکریہ .
The on-page transliteration and translation support of this tool lets you easily type in your native language, convert existing roman content to your native language and translate to and from any of the support language pairs.
Note: The Dynamic Language Tools uses the Google Transliteration API and supports all the Transliteration and Translation language pairs currently supported
by Google. Plus it has native transliteration support for the Hindi to English and Hindi to Urdu transliteration. It also provides Translation to the Urdu from all supported source languages.
For the Dictiony Services, this application uses the API provided by Wordnik and images are brough from the Flickr.
Acknowledgement: The project main idea is inspired by the Google t13n Project.
Once you have created the bookmarklet, you are ready to do the transliteration and translation on the fly. Whenever you visit a website where you want to type in Urdu or want to convert existing Roman Urdu on page to the Urdu words, or translation between any supported languages pairs, all you need to do is click that saved Dynamic Language Tools bookmark-link (bookmarklet) and it will dynamically load in your browser. Once the Dynamic Language Tool is loaded, you should see a popup window like this:

The transliteration page provides following features
Writing in your language -
First make sure the correct languages pair is selected in the From and To languages dropdowns in the Preferences section. Now close the Preferences dialog, and Ctrl+Click (hold down control key when clicking in the text-box) on any Text area on the page. When you do this, the Transliteration Mode is activated (you will see your language icon in the text-box background). Now you can type your source language and it will be auto transliterated to the target language as you typing.For example, when the From Language is set as "English", and To language is "Urdu", and you enter roman text like “Ye to bhat shandar khabar hai.”, it will be auto transliterated and displayed in Urdu script i.e. “یہ تو بہت شاندار خبر ہے.”. To turn this Transliteration Mode off, simply do a Ctrl+Click again in the same text box.
Transliterating Selecting Text -
You can also transliterate the existing text on the page supported language pairs. To do this, highlight the text on the webpage which you want to transliterate, and then click on the "Transliterate Selected Text" button. This will initiate the transliteration process, and you will see a progress bar until the transliteration process is complete. This is ideal for converting roman script content like comments, poems, news on any website.
Transliterating this Page - This is similar to the "Transliterate Selected Text" button except that in this case transliteration is applied on the complete page instead of selected text.
Apply Style - Apply style is a function which lets you the selected font and style on the text. This can be handy in case you are already reading some Urdu content but don't like the existing/default font on the website. Like on the BBC Urdu, the default font used is "Urdu Naskh Asiatype". Using this feature, you can easily change the font and size of the selected text to a font like "Jameel Noori Nastaleeq" (for better reading experience).
Transliteration Playground - This brings up a playground window where you can play with the transliteration feature and can easily transliterate and copy/paste text. This is ideal when you want this transliteration support in some non-web application. In that case, you can easily copy the content to this playground window, tweak it, and then paste back to your source document.
Following section explain the supported translation features.
Detect Language -
This button lets you find the language of the content on the web. If you click this button after selecting a text, it will show the language of that selected text, else will show the language of the Page (detected from the Title). You can then also set this detect language as the source language for future translation.
Translate Selected Text -
Before you do the translation, make sure that correct Source and Target languages are selected in the Preferences. If you are not sure about the source language, select the "Auto Detect" option and it will be auto detected during the translation. To do text translate, first select the text you want to translate and then click on the "Translate Selected Text" button. A progress window is displayed while the translation is being done.
Translate this Page -
This works like Translate Selected Text button except that in this case translation is applied on all the page.
Translation Playground -
Translation playground is testing and explore window. It helps you quickly test and play with the Translation feature. It also comes handy when working with some offline content i.e. not part of any webpage. That content can be easily copied, translated and pasted using this playground window.
Following section explain the supported dictionary features.
Show Selected Word Definition - When clicked, the selected word definition is searched in the Wordnik
and WordNet dictionaries and results, if found, are displayed in a popup window.
Show Selected Word Images - When clicked, the selected word images are searched on the Flickr and top six results in a popup window.
Dictionary Playground -
Dictionary playground is testing and explore window. It helps you quickly find the definition and images of any custom word.
If you have any ideas, comments or suggestions on this tool, please feel free to contact me at akbar@syedgakbar.com
Note: This software is provided under the MIT License. Please see the License file for details.