I was asked to localize a Windows Phone 8 application, so I followed the tutorial that can be found here.
I did a very simple app from the beginning and all the steps stated in the tutorial, and it worked fine. The problem is that in the application I really want to localize, the string resources are not working.
The Resource folder didn't exist, so I created it and then I put inside the .resx files for each language. The files are called "AppResources.resx", and I'm binding them like this:
<TextBlock x:Name="ApplicationTitle" Text="{Binding Path=LocalizedResources.ApplicationTitle,
Source={StaticResource LocalizedStrings}}" Style="{StaticResource PhoneTextNormalStyle}"/>
Just like in the example (there the .resx are also named "AppResources"). But when I try to deploy the application, the VS 2012 output gives me an error:
The resource "LocalizedStrings" could not be resolved.
I think the problem is that I had to create the Resource folder myself and I'm missing something for the application to be able to recognize it, but I don't know what it is. Can you help me?
Thanks in advance!
You need to define the LocalizedStrings Resource before to use it.
Check the link: http://www.geekchamp.com/articles/localizing-a-windows-phone-app-step-by-step
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With