Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorHow to localize Fckeditor Dialog?How to localize Fckeditor Dialog?
Previous
 
Next
New Post
2/5/2007 2:24 AM
 

I download fckeditor provider 1.07 and install it. It's great.

 I haved localize all the recource files under app_localresources.  But ,how can I localize the Fckeditor Dialog?I saw zh-cn.js under Fckhtmleditorprovider\FckEditor\editor\lang direcory.I also saw that AutoDetectLanguage property was set to true in Fckhtmleditorprovider\FckEditor\editor\fckconfig.js 。But it doesn't work.
    And I also saw many html template under fckhtmleditorprovider\FckEditor\editor\Dialog directory .I try to copy one of them as other language format ,for example ,I save fck_image.htm as fck_image.zh-cn.html and then localize it.But it still doesn't work.

    Any suggestion?Thanks


Over 20 + professional dnn modules for News Article, Store, Video Gallery, Photo Gallery, Ultra Flash Player,YouTube Video, Image Slide show, Skin Chameleon and much more from DnnModule.com
 
New Post
2/5/2007 8:26 AM
 
Any suggestion to solve this problem?Or I need change back to ftbhtmleditorprovider?

Over 20 + professional dnn modules for News Article, Store, Video Gallery, Photo Gallery, Ultra Flash Player,YouTube Video, Image Slide show, Skin Chameleon and much more from DnnModule.com
 
New Post
2/5/2007 9:11 PM
 

The language selection is made based on the DNN language. You must have a language package installed in your DNN that switches to your locale: i.e.: es-BO for Spanish-Bolivia

The language file under Providers\HtmlEditorProviders\FckhtmlEditorProvider\FCKeditor\editor\lang

must be in the form: locale.js where locale= your locale (i.e: es-BO.js)

Also, you can create a language file by using only the language part ("es" in my case for Spanish), so my language file could be: es.js

The variable "AutoDetectLanguage" must be set to "false" because the provider sets the language for the editor (as left by default in the provider package).

(Remember to clear your browser and DNN cache after a modification in the fckconfig.js)

Well, you are always allowed to change the editor provider to the one who meets your needs, or you can have some patience, or you can take some time to look at the code.


Locopon
Free modules: E-commerce, Complete localization (Portal, page, module settings, skins, etc.), Secure Login, and more
http://dnn.tiendaboliviana.com
 
New Post
2/6/2007 8:01 AM
 

Thanks for your suggestion ,locopon!   I followed these steps as your suggestion.

1:Make sure my locale language package exist (  zh-CN for simplified Chinese)

2:make sure zh-cn.js under Providers\HtmlEditorProviders\FckhtmlEditorProvider\FCKeditor\editor\lang directory ,and make sure it is encoding in utf-8

3:make sure string  'zh-cn'  : 'Chinese Simplified'  lies in Providers\HtmlEditorProviders\FckhtmlEditorProvider\FCKeditor\editor\_source\internals\fcklanguagemanage.js

4:Change AutoDetectLanguage=false under Providers\HtmlEditorProviders\FckhtmlEditorProvider\FCKeditor\fckconfig.js since you have mentioned fck provider handles the language property now.

5:Clear ie template files ,clear dnn cache

     ok,It still doesn't work. Do I miss someting?I have downloaded source code, wish I can find the answer.

 


Over 20 + professional dnn modules for News Article, Store, Video Gallery, Photo Gallery, Ultra Flash Player,YouTube Video, Image Slide show, Skin Chameleon and much more from DnnModule.com
 
New Post
2/6/2007 7:32 PM
 

Locopon
Free modules: E-commerce, Complete localization (Portal, page, module settings, skins, etc.), Secure Login, and more
http://dnn.tiendaboliviana.com
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorHow to localize Fckeditor Dialog?How to localize Fckeditor Dialog?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out