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?

Comments

ontwerpwerk’s picture

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

Anonymous’s picture

Status: Fixed » Closed (fixed)