Milias
Joined: 21 Nov 2013 Posts: 1
|
Posted: Thu Nov 21, 2013 3:17 pm Post subject: using a converter on a localized string |
|
|
I am trying to pass a localized string through a converter similar to {binding source={Resx ResxName=Resources.Common, Key=Tools} converter={StaticResource ResourceKey=CaseConverter}} (which doesn't work due to the changing binding issue.
<Label Grid.Row="0"
Grid.Column="0"
Grid.ColumnSpan="3"
Style="{DynamicResource LightTitleText}"
Content="{Resx BindingConverter={StaticResource ResourceKey=CaseConverter},
BindingSource={Resx ResxName=Resources.Common, Key=Tools}/>
is what I have so far, and it works, for some values of working, the localized strings do in fact get put through the caseconverter, however when I change the culture and all the other controls update this one always is one culture behind, so if I start in English and go to Russian, then the converted control will be still English the rest Russian, but if I go back to English then the converted control is now Russian and the rest English.
Any help would be much appreciated |
|