This is a migrated thread and some comments may be shown as answers.

Localization change on at runtime

2 Answers 99 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Lars
Top achievements
Rank 1
Lars asked on 07 Feb 2013, 08:11 AM
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 Answers, 1 is accepted

Sort by
0
Accepted
Yoan
Telerik team
answered on 07 Feb 2013, 06:05 PM
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.

0
Lars
Top achievements
Rank 1
answered on 08 Feb 2013, 07:39 AM
Thanks for the link.
The source described there works for me.
Tags
General Discussions
Asked by
Lars
Top achievements
Rank 1
Answers by
Yoan
Telerik team
Lars
Top achievements
Rank 1
Share this question
or