How to add tamil language in FCK Editor ?

Introduction to FCK Editor :

The first version of CKEditor, under the name FCKeditor, was released in March 2003 by Frederico Caldeira Knabben, the creator of the editor and the project’s Benevolent Dictator for Life. FCKeditor 0.8 supported XHTML, “Paste from Word” and Internet Explorer 5.0. During the next two years, partnerships with Oracle Corporation and IBM Corporation were signed. After crossing 3 million downloads, FCKeditor was completely reviewed and redesigned into CKEditor 3.0, with special attention given to performance, accessibility and a new UI. In December 2012, CKEditor 4.0 was released with an Inline Editing solution, reformatted source code, enhanced DOM and CSS performance, a new skin and an add-ons repository. The server side implementations were removed.

About FCK Editor :

CKEditor (formerly FCKeditor) is an open source WYSIWYG text editor from CKSource designed to bring common word processor features directly to web pages, simplifying their content creation. It aims to be lightweight and requires no client-side installation. CKEditor is distributed under the GPL, LGPL and MPL licenses.

Features of FCK Editor :

  • Inline editing :

    To improve the editing experience CKEditor now includes inline editing – a tool that removes the editing area. Say goodbye to impractical text boxes! Now What You See Is Really What You Get.

  • Spell check as you type :

    CKEditor includes a zero installation spell check as you type (SCAYT) solution. No server integration required. The application is based on the quality spell checking services provided by WebSpellChecker.net.

  • Safe undo function :

    With CKEditor you don’t need worry about mistakes because every single action can be safely reverted, guaranteeing that you’ll never break things or lose your texts.

  • Right to left interface :

    Several languages are read from “right to left”, like Arabic, Farsi or Hebrew. For those users, CKEditor will also render from right to left, making them right at home.

  • UI language auto detection :

    If you have international users CKEditor can automatically detect their language and localizes the interface accordingly. The editor is translated into over 60 languages!

  • Quality XHTML output :

    CKEditor uses advanced W3C DTD controls to ensure that HTML is properly generated. Users will not enter broken code so your pages will easily validate.

Procedures to add tamil language in FCK Editor :

Step 1 : Create one “tn.js” file for tamil fonts (take one copy from “en.js” [fckeditor/editor/lang/] and replace with tamil font with the name of “tn.js”) and upload it into “fckeditor/editor/lang/” directory.

Step 2 : Include the language code and language title in “fcklanguagemanager.js” , “fckeditorcode_gecko.js” and “fckeditorcode_ie.js” files.

These files are coming under,

(1). fcklanguagemanager.js —> fckeditor/editor/_source/internals/

Search the word “AvailableLanguages :” and add the Tamil language code and title (tn : ‘Tamil’) with in the available languages array.

(2). fckeditorcode_gecko.js —> fckeditor/editor/js/

Search the word “AvailableLanguages :” and add the Tamil language code and title (tn : ‘Tamil’) with in the available languages array.

(3). fckeditorcode_ie.js —> fckeditor/editor/js/

Search the word “AvailableLanguages :” and add the Tamil language code and title (tn : ‘Tamil’) with in the available languages array.

Example :

<script type="text/javascript">
var FCKLanguageManager=FCK.Language={AvailableLanguages:{af:'Afrikaans',ar:'Arabic',bg:'Bulgarian',bn:'Bengali/Bangla',bs:'Bosnian',ca:'Catalan',cs:'Czech',da:'Danish',de:'German',el:'Greek',en:'English','en-au':'English (Australia)','en-ca':'English (Canadian)','en-uk':'English (United Kingdom)',eo:'Esperanto',es:'Spanish',et:'Estonian',eu:'Basque',fa:'Persian',fi:'Finnish',fo:'Faroese',fr:'French','fr-ca':'French (Canada)',gl:'Galician',gu:'Gujarati',he:'Hebrew',hi:'Hindi',hr:'Croatian',hu:'Hungarian',is:'Icelandic',it:'Italian',ja:'Japanese',km:'Khmer',ko:'Korean',lt:'Lithuanian',lv:'Latvian',mn:'Mongolian',ms:'Malay',nb:'Norwegian Bokmal',nl:'Dutch',no:'Norwegian',pl:'Polish',pt:'Portuguese (Portugal)','pt-br':'Portuguese (Brazil)',ro:'Romanian',ru:'Russian',sk:'Slovak',sl:'Slovenian',sr:'Serbian (Cyrillic)','sr-latn':'Serbian (Latin)',sv:'Swedish',th:'Thai',tn:'Tamil',tr:'Turkish',uk:'Ukrainian',vi:'Vietnamese',zh:'Chinese Traditional','zh-cn':'Chinese Simplified'}
</script>

Step 3 : Set the default language to your editor like ,

If you are using JavaScript in your html webpage page means just embed like the following.

<script type="text/javascript">
oFCKeditor.Config["AutoDetectLanguage"] = false ;
oFCKeditor.Config["DefaultLanguage"]    = 'tn' ;
</script>

If you are using PHP in your webpage page means just embed like the following,

<?php 
$oFCKeditor->Config['AutoDetectLanguage']   = false ;
$oFCKeditor->Config['DefaultLanguage']  = 'en' ;
?>

Step 4 : Run your webpage to see it in action.

20 responses to “How to add tamil language in FCK Editor ?”

  1. monrocasino Avatar

    [5458]monrocasino অফিসিয়াল লগইন | বিকাশ ডিপোজিট ও সেরা লাইভ ক্যাসিনো,monrocasino অ্যাপ ডাউনলোড করে সেরা লাইভ ক্যাসিনো অভিজ্ঞতা নিন। এখানে বিকাশ দিয়ে সহজ ডিপোজিট এবং অনলাইন স্লট গেমের নিয়ম শিখে আজই জয়েন করুন। visit: monrocasino

  2. joya9 Avatar

    [231]Joya9 বেটিং: বাংলাদেশের সেরা অনলাইন ক্যাসিনো ও স্পোর্টস বেটিং সাইট,Joya9 বাংলাদেশের সেরা অনলাইন ক্যাসিনো ও স্পোর্টস বেটিং সাইট। নিরাপদ লেনদেন, আকর্ষণীয় বোনাস এবং সেরা লাইভ ক্যাসিনো ও ক্রিকেট বেটিংয়ের অভিজ্ঞতা পেতে আজই জয়েন করুন। visit: joya9

  3. 75jililogin Avatar

    Super easy registration and I was playing within minutes. The mobile version is just as good as the desktop one. Love 75jililogin

  4. 88jl11login Avatar

    Alright, checking out 88jl11login, hoping for a quick login process and a good time! Let’s do this. Good luck! 88jl11login

  5. kratonbetslot Avatar

    The slot variety here is insane. I hit a decent win on my first try and the withdrawal process was super quick. Highly recommend it guys! kratonbetslot

  6. ok tk Avatar

    [8883]ok tk লগইন ও অ্যাপ ডাউনলোড | বিকাশ ক্যাসিনো গেম,ok tk লগইন করে বিকাশ দিয়ে ক্যাসিনো গেম খেলুন। এখানে পাবেন লাইভ ডিলার ক্যাসিনো বোনাস এবং অনলাইন স্লট গেম ট্রিকস। আজই অ্যাপ ডাউনলোড করে শুরু করুন। visit: ok tk

  7. phjiligo Avatar

    The interface is so user friendly and the promos are actually worth it. If you are looking for a stable platform, phjiligo is the way to go.

  8. hann Avatar

    [9493]Hann Login Philippines – Legit Gcash Online Casino Slots,Gamitin ang hann app download para sa mabilis na access. Subukan ang pinakamabilis na withdrawal slots at alamin kung paano maglaro ng baccarat dito. visit: hann

  9. 33333 Avatar

    [8166]33333 লগইন এবং অ্যাপ ডাউনলোড | বিকাশ ক্যাসিনো ডিপোজিট,33333 লগইন করুন এবং সহজেই অ্যাপ ডাউনলোড করে অনলাইন স্লট গেম খেলার নিয়ম জানুন। বিকাশ দিয়ে ক্যাসিনো ডিপোজিট করে আজই গেম শুরু করুন। visit: 33333

  10. 1xbitdownload Avatar

    I have been playing online for quite some time and this platform stands out for its reliability. Downloading the app was straightforward and everything syncs perfectly across my devices. I appreciate how they keep things simple without sacrificing the fun factor. It is hands down one of the smoothest gaming environments I have come across this year. 1xbitdownload

  11. 49999 Avatar

    [7586]49999 লগইন ও অ্যাপ ডাউনলোড | বিকাশ দিয়ে অনলাইন ক্যাসিনো,49999 login করুন আর উপভোগ করুন সেরা অনলাইন স্লট গেমস। বিকাশ দিয়ে অনলাইন ক্যাসিনোতে টাকা জমা করে লাইভ ক্যাসিনো খেলার নিয়ম জানুন এবং অ্যাপ ডাউনলোড করুন। visit: 49999

  12. lucknation Avatar

    [6633]Lucknation লগইন এবং অ্যাপ ডাউনলোড | বিকাশ ক্যাসিনো গেম,lucknation-এ লগইন করে রিয়েল মানি ক্যাসিনো অ্যাপ এবং অনলাইন স্লট গেম সাইটের অভিজ্ঞতা নিন। বিকাশ দিয়ে ক্যাসিনো গেম খেলতে আজই অ্যাপ ডাউনলোড করুন। visit: lucknation

  13. ph555taya Avatar

    Love the promotions they run every weekend. It keeps the gameplay exciting and rewarding. I always suggest ph555taya to my buddies.

  14. juanphlogin Avatar

    Everything works perfectly on mobile. It is so convenient to play anywhere anytime with juanphlogin

  15. neon54 Avatar

    [2414]neon54 লগইন করুন | বিকাশ ডিপোজিট ও সেরা স্লট গেম,neon54 অ্যাপ ডাউনলোড করে লাইভ ক্যাসিনো খেলার নিয়ম জানুন এবং বিকাশ দিয়ে ক্যাসিনো ডিপোজিট করে আপনার পছন্দের গেম শুরু করুন। এখনই জয়েন করুন। visit: neon54

  16. playtimeph Avatar

    Playtimeph, parang ang saya! Sana hindi scam. I’m willing to try their games. Anyone else here use it already? Let me know your experience! Try it yourself here: playtimeph

  17. gt66login Avatar

    The login process is seamless and I never get locked out even after a few weeks of inactivity. Their loyalty program actually rewards consistent play without making you grind for basic perks. I also appreciate how fast they verify new accounts so I can start playing right away. Highly recommend gt66login

  18. ngtomibet Avatar

    I travel a lot for work so having a mobile friendly spot like this is a lifesaver. Everything loads quickly even on slower networks and the cash out feature is so handy. Truly built with regular players in mind. ngtomibet

  19. 33win44 Avatar

    Yo, 33win44 on the scene! I’ve been playing here for a bit. Payouts are pretty quick, which is always a good sign. Game selection is solid – got my favorites covered. Give it a go, might be your new lucky spot: 33win44

  20. vnvm66 Avatar

    Honestly one of the best interfaces I have used recently. Everything is easy to find and the loading speed is great. Highly suggest vnvm66 for a seamless experience.

Leave a Reply

Your email address will not be published. Required fields are marked *