Some texts are hard to localize

3 posts, 0 answers
  1. Tomasz M.Lipiński
    Tomasz M.Lipiński avatar
    71 posts
    Member since:
    Nov 2009

    Posted 27 Jan 2010 Link to this post

    Hi,
    I've created new copy of RadEditor.Dialogs.resx and renamed it as RadEditor.Dialogs.pl-PL.resx. This file is placed in "App_GlobalResources" folder of my WebApplication. Then I've replaced all texts connected with RadFileExplorer (I don't use RadEditor yet) with their Polish equivalences. The result of my work is:
    - I had to explicitly set LocalizationPath of my file explorer ("~/App_GlobalResources"; while the documentation says that is it not neccessary in this case)
    - I cannot find (in resx) some texts:
    • Copy (popup menu)
    • Close (closing X in dialogs)
    • Delete (the title of the deletion confirmation dialog)
    • No records to display (the grid with no files)

    In the last case I've solved the problem by explicitly setting the localized text to: <fileExplorer>.Grid.MasterTableView.NoMasterRecordsText).

    Is there any way to localize these texts?

    Regards
    Tomasz

     

  2. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 01 Feb 2010 Link to this post

    Hello Tomasz,

    RadFileExplorer does not provide localization for the mentioned: Copy (popup menu), Close (closing X in dialogs), Delete (the title of the deletion confirmation dialog), "No records to display (the grid with no files)" texts and the only solution is to override the texts by using JavaScript as or server-side properties of the controls (such as RadFileExplorer1.Grid.MasterTableView.NoMasterRecordsText = "no text"). The RadWindow's localization can be done by using the approach described in this code library.
    For the time being the "Delete" confirmation dialog's title, however, cannot be localized.

    I hope this helps.

    Sincerely yours,
    Fiko
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Tomasz M.Lipiński
    Tomasz M.Lipiński avatar
    71 posts
    Member since:
    Nov 2009

    Posted 02 Feb 2010 Link to this post

    Hi,

    OK. I don't mark it as "answered" because I hope it will be fixed in some of the next upgrades.

    Regards
    Tomasz
Back to Top