No joy on localization in XAML

From what I have read, XAML string localization is supposed to be supported in WPF XAML.  However, I have not been able to get it to work.  I have set localization in the project to pessimistic, but that doesn't help.  When I try to highlight a string and manually move it to a resource, that option is not available in XAML.  (works fine in code behind)

Am I missing something here?

5 comments
Comment actions Permalink

Hi Alex,

Could you please specify ReSharper version you use as well as provide a screenshot showing what you'd like to localize?

Thanks!

0
Comment actions Permalink

Localization.PNG

I'm using the latest - 7.1.

Here is a screenshot.  It is the same for any literal string.




Thanks for you help.

0
Comment actions Permalink

Hello Alex,

Have you tried applying "ReSharper | Refactor | Move to Resource" refactoring there?

Thanks.

0
Comment actions Permalink

Yes, I tried that, but all of the Resharper options are greyed out.

0
Comment actions Permalink

Hi Alex,

Thank you for the report. We're investigating this issue now.
Thanks.

0

Please sign in to leave a comment.