Home > Indic Resource > Write in 9 Indian Scripts in Joomla using TinyMCE and FCKEditor Plugin

Write in 9 Indian Scripts in Joomla using TinyMCE and FCKEditor Plugin

January 23rd, 2010 Leave a comment Go to comments

Today I am going to explore various ways to easily type in Indian languages like Bengali, Gujarati, Hindi, Marathi, Sanskrit, Kannada, Malayalam, Oriya, Punjabi, Tamil and Telugu very easily in your favourite CMS Joomla.

There are 3 methods you can use depending on your editor choice.

  1. Using JCE Editor
  2. Using FCKEditor
  3. Using TinyMCE editor

Using JCE Editor

You have to first install JCE Editor along with plugins. It is assumed that JCE editor is your default editor. You can check/set it by going to Administration > Site menu > Global Configuration and look for Default WYSIWYG Editor.

  1. Download IndicIME plugin for TinyMCE and put it at WEBROOT\plugins\editors\jce\tiny_mce\plugins so that “indicime” will become sub-folder of plugins.
  2. Now navigate to Administration > Components > JCE Administration > Plugins. Click on “New Plugin” button on the right side.
  3. Fill in the form as described below and “Save” the plugin.
    Description: IndicIME
    Plugin Name: indicime
    Plugin Icon: indicime,indicimehelp
    Layout Icon: indicimehelp

  4. Now navigate to Administration > Components > JCE Administration > Groups. Select the Group(For ex. Default). Go to Layout tab and you will see a button as indicated in image with red square. You can drag this button and drop it in Current Editor Layout anywhere you like and “Save” it.
  5. Now clear browser cache (It is very important) and try to add new article. IndicIME and IndicIME help buttons will show up.
  6. Enjoy typing in Indian languages.

Using FCKEditor

You have to first download FCKEditor for Joomla and install this plugin. It is assumed that FCKEditor is your default editor. You can check/set it by going to Administration > Site menu > Global Configuration and look for Default WYSIWYG Editor.

  1. Download IndicIME plugin for FCKEditor and put it at WEBROOT\plugins\editors\fckeditor\editor\plugins so that “indicime” will become sub-folder of plugins.
  2. Now browse to WEBROOT\plugins\editors\fckeditor\editor and open the file “jtoolbarsetconfig.xml”
  3. At the very bottom, you will get “customplugins” node. Add the following line at the end.
    <add name="indicime" lang="en"/>

    So it will look like this.

  4. Now when you analyze this xml file, you will notice that it contains button list for three types of toolbars named “Advanced”, “Creative” and “Blog”. In each of these toolbars, you may want to add the IndicIME so find a good place to paste the following code as shown in the image.
    <plugingroup>
    <plugin name="indicime" acl="*">
    <params>
    <param name="IndicIMEScripts" value="My Bengali:bengali;My Gujarati:gujarati;My Devnagari: devnagari" />
    </params>
    </plugin>
    <plugin name="indicimehelp" acl="*"/>
    </plugingroup>

    Using this code, you will be able to customize the language list. If you don’t want to customize the list, remove the text “<params>…</params>”.(Make sure it is “<params>” and not “<param>”)

  5. Now clear browser cache (It is very important) and try to add new article. IndicIME and IndicIME help buttons will show up.
  6. Enjoy typing in Indian languages.

Using TinyMCE Editor

It is assumed that TinyMCE editor is your default editor. You can check/set it by going to Administration > Site menu > Global Configuration and look for Default WYSIWYG Editor.

  1. Download IndicIME plugin for TinyMCE and put it at WEBROOT\plugins\editors\tinymce\jscripts\tiny_mce\plugins so that “indicime” will become sub-folder of plugins.
  2. Now from Administration menu, navigate to Extensions > Plugins > Editor – TinyMCE.
  3. On the right hand side, Open the section “Plugin Parameters” and choose “Extended” Functionality.
  4. Now open the section “Advanced Parameters” and at the very bottom, add “indicime” custom plugin and “indicime,indicimehelp” custom button.
  5. Now when you try to add new article, it will show you IndicIME and IndicIME Help.
  6. Enjoy typing in Indian languages.

Limitation of using TinyMCE is that if you want to customize the list of languages, you need to change php code heavily.

  1. January 24th, 2010 at 13:35 | #1

    Great Plugin. Very Good Tutorial. Sir ! You are a life saver. Keep up the good work. If in anyway I can help you, please let me know.

  2. punny
    February 10th, 2010 at 08:19 | #2

    i am able to type in our regional language telugu. but it is not displaying the same when article is published. please let me know what is the problem

    i need it in urgency. please do mail at npunny@gmail.com

  3. February 10th, 2010 at 18:51 | #3

    @punny
    It seems a problem of database and not plugin. Your database must have collation UTF-8(Unicode). When you save the Telugu text in database, it will be converted to ascii which results in “?????” (question marks).

    The solution is to change the database collation to UTF-8 at the time of creation.

  4. February 18th, 2010 at 14:38 | #4

    is there available malayalam Google Transliteration IME for joomla

  5. February 18th, 2010 at 16:35 | #5

    @abeyemathews
    I am not aware of it.

  6. Abdul Muhaymin
    February 22nd, 2010 at 18:39 | #6

    Super Plugin, which iam waiting for, I got it, now my site users can write malayalam in their articles.. yes ofcourse working, it may be good if you change the malayalam fonts into https://sites.google.com/site/cibu/... varamoyzi editor, if you have any malayalee friend they may help you. this is more easy to type than the package you gave… varamoyzi is used in media wiki too.. i want it in joomla can u help?

  7. Abdul Muhaymin
    February 22nd, 2010 at 19:01 | #7

    Or You can also use google indic transilitre.. it is also a good one, and easy one, every one can use it efficiently.. there is API CODE, pls go through and pls help me http://code.google.com/apis/ajaxlanguage/documentation/#Troubleshooting

    Thanks
    Abdul Muhaymin

  8. February 23rd, 2010 at 19:28 | #8

    @Abdul Muhaymin
    In my next version of PramukhLib (which is a core engine of all web based Indian language typing utility) I will try to accommodate the varamoyzi mapping. At the same time, I will also check if google API can be an alternative for it.

  9. Abdul Muhaymin
    February 24th, 2010 at 10:58 | #9

    thanks sir, when it will be released?

  10. February 24th, 2010 at 20:13 | #10

    @Abdul Muhaymin
    I have not set any date.

  11. March 2nd, 2010 at 14:20 | #11

    thankyou very very much.
    I completed the whole process in 3 mins…….
    looking for indian script for past 12 months & now i got it……

    thankyou thankyou very much

  1. No trackbacks yet.