Page 1 of 1

FCKeditor with other default language

Posted: Sun Mar 06, 2011 2:56 pm
by Tata
Hi, all!
I have finished a friend for my daughter-in-law who needs to have the editor with Ruassian environment.
The ru.js files are installed (or en.js files are partially translated already).
Settings are:

Code: Select all

$cf['language']['default']="ru";
$cf['meta']['content-language']="ru";
I have also changed language (en to ru) in:

Code: Select all

FCKConfig.DefaultLanguage		= 'en' ; 
and also on some other places changed en to ru language.
But the editor keeps "speaking" English.
How and what shall be set to have the editor with Russian (or any other national) surrounding?

Re: FCKeditor with other default language

Posted: Mon Mar 07, 2011 10:51 am
by svasti
Hallo Tata,
FCKeditor in Russian:
in fckconfig_cmsimple,js

Code: Select all

FCKConfig.AutoDetectLanguage	= false ;
FCKConfig.DefaultLanguage		= 'ru' ;
AutodetectLanguage detects the language of your OS it seems, not of the CMSimple settings
regards
svasti

Re: FCKeditor with other default language

Posted: Mon Mar 07, 2011 12:06 pm
by Tata
Thanks, I made just the same before and it did not work. Now works it. Hm...

Re: FCKeditor with other default language

Posted: Mon Mar 07, 2011 12:18 pm
by Gert
Tata wrote:Thanks, I made just the same before and it did not work. Now works it. Hm...
If you change something in javascript files, don't forget to clear the browser cache ;)

The browser cache mostly is the reason for such problems, in some cases you have to restart your browser, before the changes are effective ...

Re: FCKeditor with other default language

Posted: Mon Mar 07, 2011 4:05 pm
by Tata
Gert wrote:If you change something in javascript files, don't forget to clear the browser cache ;)
I knew about this. I just have forgotten to restart the computer relying to that emptying cache should be enough.
BTHas anybody Russian files to CMSimple_XH and/plugins? My Russian is forgotten long ago. So I am not able eto make complette translations.