RadEditor on Multilingual Site Using Variation Labels

3 posts, 1 answers
  1. TerryM
    TerryM avatar
    2 posts
    Member since:
    Jul 2008

    Posted 05 Jul 2010 Link to this post

    Is it possible to localize the RadEditor control on a multilingual site (en, fr) which uses variation labels for localization? If so, how would I go about it?

    Terry
  2. Answer
    Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 07 Jul 2010 Link to this post

    Hello TerryM,

    In order to localize RadEditor for MOSS you need to do the following.
    1. Copy all the files from Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\5.7.3.0__1f131a624888eeed\Resources\App_GlobalResources to the App_GlobalResources folder of your MOSS site. The default one is \Inetpub\wwwroot\wss\VirtualDirectories\80\App_GlobalResources.

    2. Set the Language property in the respective ConfigFile.xml or ListConfigFile.xml, which are located in the /Program Files/Common Files/Microsoft Shared/web server extensions/wpresources/RadEditorSharePoint/5.x.x.0__1f131a624888eeed/Resources/ folder.

    Review the following two articles:
    Using Global Resource Files
    Set Properties Via Config File

    I understand that you have multilingual site. So here are some suggestions of how you can apply the different settings.
    1. Review the following online help article: Different configuration files for different webs. If in each language your site has different UID, you will be able to create different ConfigFile{UID}.xml filers and you will be able to set the Language property for each site. (I do not know what is the implementation of your multilingual structure so I am not 100% sure that this will work in your environment).

    2. You can create custom control which will inherit from RadEditor for MOSS and you will set the Language property programmatically.

    3. I can provide you with the source code of RadEditor for MOSS and you will be able to create custom wsp solution, which will fit in your scenario.
     

    Best regards,
    Stanimir
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

  3. TerryM
    TerryM avatar
    2 posts
    Member since:
    Jul 2008

    Posted 08 Jul 2010 Link to this post

    Hi Stanimir,

    It seems that copying the files to the MOSS site's App_GlobalResources folder did the trick. The Sharepoint site variations take care of the rest.

    Thanks!
    Terry
Back to Top