RadEditor for Sharepoint Webpart - localization problem

4 posts, 0 answers
  1. Adam
    Adam avatar
    13 posts
    Member since:
    Nov 2011

    Posted 12 Nov 2012 Link to this post

    I have a problem when trying to localize some elements of editor in its webpart version. For some reason in the editor which replaces content editor, localization behaves as expected, but in the editor which is in the webpart (default telerik rad editor for sharepoint webpart), there are still english labels in the table wizard dropdown and Strip Css Formatting dropdown, while other things in the same editor are translated correctly. Please see attached images.

    Regards

     Adam

    Edit :

    In addition I would like to mention that I have followed the telerik's official localization procedure via resource files, described in the help file.
  2. Rumen
    Admin
    Rumen avatar
    14107 posts

    Posted 14 Nov 2012 Link to this post

    Hello Adam,

    You should set the Language property in the ConfigFile.xml / ListConfigFile.xml files:
    <property name="Language">pl-PL</property>

    In order to make the localization to work you need to copy the en-US files from Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\x.x.x.x__1f131a624888eeed\Resources\App_GlobalResources folder to \Inetpub\wwwroot\wss\VirtualDirectories\80\App_GlobalResources folder as well as the Polish ones in it too.

    You should make sure that the Polish resx files contains all localization strings available in the en-US ones and that they are up to date.

    Best regards,
    Rumen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. Adam
    Adam avatar
    13 posts
    Member since:
    Nov 2011

    Posted 03 Dec 2012 Link to this post

    Dear Rumen,

    Thank you very much for your answer, but as for setting the culture information in the config files - i do not want to do it since the site is designed to be multilingual and proper locaization values in all controls should be set according to current culture in Sharepoint. As for putting the resx files in the App_GlobalResources  folder it is actually done. The problem is that the resources work for rad editor that is replacing the html field editor of sharepoint, but they do not work for some elements in standard RadEditor for Sharepoint Webpart is inserted - namely:
    • TableWizard 
    • StripAll
    • StripCss
    • StripFont
    • StripSpan
    • StripWord

    from RadEditor.Tools.resx

    Other elements in the editor from in the webpart are translated correctly.
  4. Rumen
    Admin
    Rumen avatar
    14107 posts

    Posted 06 Dec 2012 Link to this post

    Hi,

    Thank you for reporting this problem.

    I logged it for research and fixing in our bug tracking system. I also updated your Telerik points for your feedback.

    Regards,
    Rumen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top