Skip to content

BLoc, TranslateConverter: target provider is ignored #257

@Karnah

Description

@Karnah

Related to #254

BLoc or TranslateConverter are always pass null as target.
https://github.com/XAMLMarkupExtensions/WPFLocalizationExtension/blob/077bac2daeed0c982ff63788fd9839ced3c1c63d/src/Extensions/BLoc.cs#L311
https://github.com/XAMLMarkupExtensions/WPFLocalizationExtension/blob/077bac2daeed0c982ff63788fd9839ced3c1c63d/src/ValueConverters/TranslateConverter.cs#L57

So you cannot override provider for window/page/control. So it always will use LocalizeDictionary.DefaultProvider. This can be a problem for application which use different providers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions