Load strings from resources (make usable with MAT)

Nov 9, 2013 at 2:10 PM
Edited Nov 9, 2013 at 2:11 PM
Could you add ability to load data from resources?
Because it is very inconvenient to create different xml files when you use Multilingual App Toolkit

For example, if tag is present but is empty than you search in resources.
Imagine that we have Data.xml with tag
<App Title="" Author="" />
And resources contain
Title "Some title"
Author "Some Author"

And in this case YLAD looks that tag Title s empty and searches in resources for resource with id that contains <TagName> in this case Title and so on.

And maybe using x:uid to define resource id prefix
<App x:Uid="YLAD" Title="" Author="" />
And resources contain
YLAD.Title "Some title"
YLAD.Author "Some Author"
Nov 9, 2013 at 6:51 PM

That's a good idea; I have to see how this will fit in, as leaving the values empty for certain parts means they are pulled from the manifest. But I think it could use a fall-through mechanism that tries the resources first.

Thanks for your feedback,
Nov 9, 2013 at 6:53 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Nov 9, 2013 at 8:22 PM
Cool! Thanks!