Localization

11 posts, 1 answers
  1. Filip Salwender
    Filip Salwender avatar
    10 posts
    Member since:
    Feb 2009

    Posted 17 Mar 2009 Link to this post

    Hi there,

    Is it possible to localize this control?

    Thank you.

    EDIT: Never mind ... I thougt that there will be some .resx called FileExplorer. I found what I needed.

  2. Answer
    Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 18 Mar 2009 Link to this post

    Hi Filip,

    The RadFileExplorer can be localized in the same manner as the RadEditor's dialogs.

    Localization is contained in resource files .resx which are within the product dll. There are three built-in localizations (English, French and German) which can be set through the Language property. For example to localize the editor in German set Language="de-DE".

    To create your own localizations for the RadFileExplorer you need to create the  App_Global Resources folder in the root of your web application and copy the English resx file (which is in the installation folder) into it. The needed file is RadEditor.Dialogs.resx.

    After you have copied the resx file, you must duplicate it and rename it using the syntax shown in the few examples RadEditor.Dialogs.<Your_Language>.resx .All resx file contain two columns: Name and Value and you can set the value to the string you want to show.

    This being said, in order to localize the RadFileExplorer e.g for German you should go through the following steps:


    1. Copy the RadEditor.Dialogs.resx and RadEditor.Dialogs.de-DE.resx files to the App_GlobalResources folder
    2. Set the language for the RadFileExplorer as shown below:

       <telerik:RadFileExplorer runat="server" ID="FileExplorer1" Width="100%" Skin="Vista" 
                  OnClientLoad="OnClientFileOpen" Language="de-DE">  
                  <Configuration ViewPaths="~/temp" UploadPaths="~/temp" DeletePaths="~/temp" /> 
              </telerik:RadFileExplorer> 

    Greetings,
    Svetlina
    the Telerik team


    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Hessner
    Hessner avatar
    189 posts
    Member since:
    Mar 2003

    Posted 24 Aug 2009 Link to this post

    "Click here to sort" are not to be found inside RadEditor.Dialogs.resx?
  5. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 25 Aug 2009 Link to this post

    Hi,

    The following strings will be added to the localization for the file explorer in this week's service pack release:

    Common_GridSortToolTip - "Click here to sort"
    Common_GridSortedDescToolTip - "Sorted desc"
    Common_GridSortedAscToolTip - "Sorted asc"


    Sincerely yours,
    Lini
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  6. Hamdy Ghanem
    Hamdy Ghanem avatar
    41 posts
    Member since:
    Dec 2009

    Posted 24 Mar 2010 Link to this post

    I did every thing but it is not working
    may be from what?

    do I have to change the culture of the page
  7. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 25 Mar 2010 Link to this post

    Hello,

    Please explain what you did and in what environment are you using the file explorer. Copying the .resx files to App_GlobalResources and setting the language property of the control should be enough.

    In some cases, additional steps are needed to enable the localization. For example - in DNN you need to set the LocalizationPath property of the control as well: http://www.telerik.com/community/forums/dotnetnuke/skin-objects/dnn-radeditor-localization.aspx

    Sincerely yours,
    Lini
    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.
  8. Hamdy Ghanem
    Hamdy Ghanem avatar
    41 posts
    Member since:
    Dec 2009

    Posted 25 Mar 2010 Link to this post

    I copied the resx file to the global resources path
    create another Arabic file
    Change the data

    assign the language property to the file explore as "ar-SA"

    working on
    vs 2008
  9. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 02 Apr 2010 Link to this post

    Hello,

    We tested this scenario and found no problems with it. Here is the file explorer declaration in the aspx file:

    <telerik:RadFileExplorer ID="RadFileExplorer1" Language="ar-SA" runat="server"></telerik:RadFileExplorer>


    The App_GlobalResources folder in the web site contains two files:

    RadEditor.Dialogs.resx
    RadEditor.Dialogs.ar-SA.resx

    The first is the default English strings and the second contains the translated strings for ar-SA. The strings you need to translate are the ones starting with "Common_" - e.g. "Common_Refresh", "Common_CreateNewFolder", etc.

    Best wishes,
    Lini
    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.
  10. Hamdy Ghanem
    Hamdy Ghanem avatar
    41 posts
    Member since:
    Dec 2009

    Posted 03 Apr 2010 Link to this post

    Same as u

    I tried to make the same scenario  with small project it works perfectly
    it is not working in the big project
    the project is the DNN project
    try to put the same page beside the default.aspx page nd call it default2.aspx and put the resource files
    it will not work
    this is my real scenario

    I want to Attach the whole project of dnn but it is 35 mb
  11. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 06 Apr 2010 Link to this post

    Hello,

    If you are using DNN, then you need to place the .resx files in another location and set the LocalizationPath property of the file explorer control to point to that location in the DNN web application - for example "~/controls/TelerikResources/".

    For more DNN specific information, see the link I pasted a couple of messages back in this thread.

    All the best,
    Lini
    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.
  12. Hamdy Ghanem
    Hamdy Ghanem avatar
    41 posts
    Member since:
    Dec 2009

    Posted 06 Apr 2010 Link to this post

    it is great
    it works


    thanx
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017