msgbartop
ASP.NET : C#: VB.NET : SQL Server : Oracle : Sharepoint : PHP : SSIS : SSRS : Wordpress : Plugins : Technology News
msgbarbottom

21 Jun 09 Indic Language Plugin For Comments

Summary
A simple plugin which enables comment box to display comments in Indic Languages. When readers/visitors write comments in Roman/English script this plugin automatically converts roman text into default Indian Script selected in the plugin’s options page. This plugin does use google transliteration API. Reader/Visitors can also use Ctrl + G to toggle between english and selected Indian language.

This is my first attempt to create a wordpress plugin. Following Indic languages are supported by this plugin:

    1. Hindi
    2. Tamil
    3. Telugu
    4. Kannada
    5. Malayalam
    6. Arabic

Download and Install

Download the latest release from WordPress.org Plugins Directory.

    1. After downloading Unzip the file
    2. Upload “IndicLangComment.php” to the “/wp-content/plugins/” directory
    3. Activate plugin via ‘Plugins’ menu in WordPress

Usage and Live Demo

After login go to Comments -> Indic Language Comment Options and then set the options. Options screen looks like this -

What You can do

1. Either you can set one default language, so whenever some type in comment box, that text will convert into that selected language.
2. This plugin allows you to show toggle button to your reader
3. Plugin has option to show multiple languages in toggle button, you can get this by selecting YES to advance use.
4. To show Toggle Button in your comment form, you need to copy the code given in option screen and then paste to desired place in your comment form. I used span tag so that I can have in-line text message, if you want to have toggle button in separate line then use DIV inplace of SPAN tag.

See Live Demo of this plugin.


NOTE: This functionality is availble only on Textarea object/box in comment form.