Localization change on at runtime

3 posts, 1 answers
  1. Lars
    Lars avatar
    6 posts
    Member since:
    Apr 2011

    Posted 07 Feb 2013 Link to this post

    In my silverlight application I have some XAML code like this:

    <TextBlock Text="Test:" Margin="12,25,0,13" FontSize="24" telerik:LocalizationManager.ResourceKey="ResTest"/>

    This works fine but now I have the following problem.
    I wanted to change the language at runtime while the page which contains this text is already displayed.
    How can I trigger that elements which are already displayed get the new text translation.

    The switch of the language itself is working. I can see that when I open a new page all components on this page are displayed with
    the new language. Only components which were already translated before the change stay with the old text.
  2. Answer
    Yoan
    Admin
    Yoan avatar
    1066 posts

    Posted 07 Feb 2013 Link to this post

    Hello Lars,

    I can suggest you to check this forum thread where a similar question has already been discussed.


    Regards,
    Yoan
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. Lars
    Lars avatar
    6 posts
    Member since:
    Apr 2011

    Posted 08 Feb 2013 Link to this post

    Thanks for the link.
    The source described there works for me.
Back to Top