Use number substitutions for different culture settings
<Window x:Class="SDKSample.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Number Substitution Sample" Width="600" Height="400" >
<StackPanel Margin="20">
<Border Padding="10" HorizontalAlignment="Center" VerticalAlignment="Center" BorderBrush="Silver" BorderThickness="1">
<Grid HorizontalAlignment="Center">
<Grid.Resources>
<Style x:Key="NumberDisplay" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource {x:Type TextBlock}}">
<Setter Property="NumberSubstitution.CultureSource" Value="Text" />
<Setter Property="NumberSubstitution.Substitution" Value="Traditional" />
<Setter Property="Text" Value="{Binding Path=Value, ElementName=NumberSlider}" />
<Setter Property="Grid.Column" Value="1" />
<Setter Property="MinWidth" Value="50" />
</Style>
</Grid.Resources>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<StackPanel Grid.ColumnSpan="2">
<Slider Grid.ColumnSpan="2" Minimum="0" Value="1.23" Maximum="10" Name="NumberSlider" IsSnapToTickEnabled="True" TickFrequency=".01" Width="Auto" MaxWidth="300" Margin="10" />
</StackPanel>
<TextBlock Grid.Row="1">English (en-us)</TextBlock>
<TextBlock Grid.Row="2">Portuguese (pt-pt)</TextBlock>
<TextBlock Grid.Row="1" xml:lang="en-us" Style="{StaticResource NumberDisplay}" />
<TextBlock Grid.Row="2" xml:lang="pt-pt" Style="{StaticResource NumberDisplay}" />
</Grid>
</Border>
</StackPanel>
</Window>
Related examples in the same category