I would like to provide language support on a WPF Application. To provide support for dynamic contents, I can make use of a language support file.
However, how should I go about doing this for Static texts, such as those found on XAML.
For example:
<TextBlock
FontSize="20"
FontWeight="Bold"
TextAlignment="Center" FontFamily="Helvetica">
Start Process
</TextBlock>
in the code above, the text “Start Process” is static, but how would I integrate different language support for that text.
Using genercal globalization and localization (language specific support) in WPF apps … https://msdn.microsoft.com/en-us/library/aa292205(v=vs.71).aspx
Using locale specific resource files in .net …. http://www.c-sharpcorner.com/UploadFile/ankithakur/Globalization_Localization_in_DotNet_CSharp07032006023510AM/Globalization_Localization_in_DotNet_CSharp.aspx
Using
x:Staticattribute in XAML to achieve binding of resource (.resx) texts … http://robertoschiabel.wordpress.com/2010/01/31/wpf-add-localization-via-resx-files/