-
-
Notifications
You must be signed in to change notification settings - Fork 30
-
I want to create something like a text localization system. Say I have a Dictionary<string, Dictionary<string, string>>
mapping from language codes to translation tables containing key-value pairs, and a global setting of the currently active language. There'll be custom controls like a LocalizedLabel
that exposes a Key
property to update its Text
accordingly.
Is there a clean way to specify bindings to a global resource (like an application-scope StaticResource
), or do I have to inject the same thing into all such viewmodels, or even resort to a singleton?
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment