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 |
Jump to:
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
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