I know the usual way to reference localized strings from a .resw file would be like this:
XAML:
Re
You can use a CustomXamlResourceLoader:
public class XamlResourceLoader : CustomXamlResourceLoader
{
private readonly ResourceLoader _loader;
public XamlResourceLoader()
{
_loader = ResourceLoader.GetForViewIndependentUse();
}
protected override object GetResource(string resourceId, string objectType, string propertyName, string propertyType)
{
return _loader.GetString(resourceId) ?? resourceId;
}
}
Then in your App.xaml.cs constructor:
CustomXamlResourceLoader.Current = new XamlResourceLoader();
And finally in your xaml: