Localization Questions

2 posts, 0 answers
  1. christina noel
    christina noel avatar
    42 posts
    Member since:
    Mar 2010

    Posted 20 Oct 2011 Link to this post

    I am implementing a customLocalizationManager, and I have a few questions:

    1) I have to get the strings for the localization manager from the server (webservice call), so I am necessarily filling it in after the UI has been made. I initially noticed (as was noted in the help) that several strings would not localize properly because of this. I've managed to get around it by starting the radcontrols (radgrid, raddatapager, radupload) with Visibility=Collapsed, and then making them visible after the strings have been loaded. However, I was wondering if there was any other way to get the controls to refresh their strings if, for example, I need to change them partway through.

    2) Does the localization work in general? I would like to put in a radtoolbar and have the tooltips on the buttons be localized strings. Can I do that?

    --Christina
  2. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 21 Oct 2011 Link to this post

    Hi Christina Noel,

    Indeed, if you want to update the localization in runtime, you need to reload the corresponding visual elements. Please take a look at our demos for a reference - each time you select one of the RadioButtons on the right, the language is changed. Basically, the idea behind is that the UI elements are recreated on updating the language.
    Considering your second question, there should be no problem to localize a particular string. You can run through our online documentation for additional information.

    Best wishes,
    Maya
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top