Re: Languages in CuteEditor

  •  06-29-2006, 10:56 AM

    Re: Languages in CuteEditor

    To change the language of your DNN, please modify the CuteEditor section of your DNN.

    <add name = "FtbHtmlEditorProvider"
                    type = "DotNetNuke.HtmlEditor.FtbHtmlEditorProvider, DotNetNuke.FtbHtmlEditorProvider"                   
                  providerPath = "~\Providers\HtmlEditorProviders\FtbHtmlEditorProvider\"
                    />
            <add name="CEHtmlEditorProvider"
        type="DotNetNuke.HtmlEditor.CEHtmlEditorProvider, DotNetNuke.CEHtmlEditorProvider"
        providerPath="~\Providers\HtmlEditorProviders\CEHtmlEditorProvider\CuteSoft_Client\CuteEditor\"
        UseDNNRoleASFileNamePrefix="false"  
        UseDNNRootImageDirectory="true"
        RemoveServerNamesFromUrl="true"
        UseDNNDefaultWidth="true"              
        ConvertHTMLTagstoLowercase="true"
        UseRelativeLinks="true"
        UseHTMLEntities="true"
        RenderRichDropDown="true"
        UseSimpleAmpersand="false"
        CustomCulture="de-DE"
     ..............
     
    />
     
    If you want to dynamically switch languages for Cute Editor in dontnetnuke 4, please follow the step below:
     
    Open the CEHtmlEditorProvider.vb.
     
    And find the following code:
     
    If Not Null.IsNull(objProvider.Attributes("CustomCulture")) Then
         _CustomCulture = objProvider.Attributes("CustomCulture")
         cntlCE.CustomCulture = _CustomCulture
     End If
     
    The above code allows you change the editor culture by web.config.
     
    You can change the above code to change the culture dynamically.
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View Complete Thread