GuOrg/Gu.Localization

set Resource with AttachedProperty

Closed this issue · 1 comments

It's annoying to write the resource name every time

Text="{l:Static local:Resource.Key"}

so It is best to specify the resource name by AttachedProperty.
Therefore, localization will be easier

<window:
ResxName="local:Resource"/>

Text="{l:Static Key"}

@JohanLarsson Can you consider it?

Not sure how this would work with tooling. Getting autocompletion and compiler checks of the resource name is useful.