Hi
I have an issue with multi-language support. In my application the language is changed in the run time.
I have these settings in my fckconfig.js.
FCKConfig.AutoDetectLanguage = true ;
FCKConfig.DefaultLanguage = 'en' ;
The problem is when i change the language in my application, there is no way to change the browser language, but FCKConfig.AutoDetectLanguage looks only the browser language.Because of this the correct spelled German words are highlighted as misspelled.
I would like to configure this in run time. I am using java version of FCKEditor.
I would be nice if i could use something like this FCKLanguageManager.ActiveLanguage.Code=de;
Regards,
qwert
I have an issue with multi-language support. In my application the language is changed in the run time.
I have these settings in my fckconfig.js.
FCKConfig.AutoDetectLanguage = true ;
FCKConfig.DefaultLanguage = 'en' ;
The problem is when i change the language in my application, there is no way to change the browser language, but FCKConfig.AutoDetectLanguage looks only the browser language.Because of this the correct spelled German words are highlighted as misspelled.
I would like to configure this in run time. I am using java version of FCKEditor.
I would be nice if i could use something like this FCKLanguageManager.ActiveLanguage.Code=de;
Regards,
qwert
Re: Issue with multi-language support
Qwert,
relying on the editor is the wrong thing to do!
Which FCKeditor.Java version are you using? I hope the most recent one (v 2.4).
This is the best way to do it:
you probably set the locale into the session. So you are able to retrieve it from there.
guessing you are using simple JSTL/JSP (adapt yourself for Struts or Spring).