Quantcast
Channel: ResX Resource Manager
Viewing all articles
Browse latest Browse all 2435

New Post: Compatibility with wpf localize extension

$
0
0
Thank you for your project, it's really awesome!

I have a small issue with detect code references. I'm using wpf localize extension https://github.com/SeriousM/WPFLocalizationExtension

it's strings might be found under different ways:
<Window xmlns:lex="http://wpflocalizeextension.codeplex.com"
        lex:LocalizeDictionary.DesignCulture="en"
        lex:ResxLocalizationProvider.DefaultAssembly="MyAssembly"
        lex:ResxLocalizationProvider.DefaultDictionary="MyResource">
<Button Content="{lex:Loc Test}" />
<Button Content="{lex:Loc Key=Test}" />
</Window>
or
<Button Content="{lex:Loc Test}" />
<Button Content="{lex:Loc Key=Test}" />
<Button Content="{lex:Loc MyAssembly:MyResource:Test}" />
<Button Content="{lex:Loc Test, Assembly=MyAssembly, Dict=MyResource}" />
<Button Content="{lex:Loc Key=Test, Assembly=MyAssembly, Dict=MyResource}" />
Do you think it would be possible to make code detect reference even with WPFLocalizationExtension?

Viewing all articles
Browse latest Browse all 2435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>