I’ve followed the instructions of this tutorial Localizing a Windows Phone app Step by Step
But for some reason the Text=”{Binding Path=AppResources.Title, Source={StaticResource LocalizedStrings}}” doesn’t work. It doesn’t give any errors or anything.
It’s just plain empty box.
Any idea what might be wrong?
I have localised my app the following way
Have a class named LocalizedStrings with the an instance of it created
Add the necessary Resx files (eg AppResources.de.resx ) with the localized strings
Add the following in App.xaml inside the
Application.Resourcestag.<local:LocalizedStrings xmlns:local="clr-namespace:AppName" x:Key="LocalizedStrings"/>And finally add the supported culture in the csproj file.
Then bind the xaml element like this
One important thing that we forget most often is to change the acces modifier to Pulic. Open your AppResources.resx, you can see a field called Access Modifier. Change the value from internal to Public.