how I can set default language for fckeditor

alimosavi - June 11, 2007 - 17:30
Project:FCKeditor - WYSIWYG HTML editor
Version:5.x-1.1
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

hi
how I can set default language for fckeditor?
my language is farsi and my theme must be dir ="rtl" therefore
I have to set my default lan to farsi.
can you help me?

#1

ontwerpwerk - July 17, 2007 - 10:09
Status:active» fixed

To do use Farsi you must add the following to fckeditor.config.js (where DefaultLanguage should be an existing fckeditor translation, I don't know if there is a Farsi translation yet)

FCKConfig.AutoDetectLanguage = false ;
FCKConfig.DefaultLanguage = "fa" ;
FCKConfig.ContentLangDirection = 'rtl' ;

See also : http://wiki.fckeditor.net/Developer%27s_Guide/Participating/Localization

#2

Anonymous - July 31, 2007 - 10:15
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.