Here's short demo of addin in action.

Step 1: Open XAML in which you want to extract strings. Invoke XamlLocalizerAddin.
DemoStep1.png

Step 2: Dialog is displayed, where you can:
- select resource file in which you want to extract new resources (by default file with same name as current XAML);
- preview strings which will be extracted and which correspondent keys generated. It is possible to uncheck strings which not needed to extract and alter resource key.
- click “Extract Resources” will do extraction;
- click “Pretty Format” will not extract anything, but just reformat current XAML document.
DemoStep2.png

Step 3: After “Extract Resources” is pressed, strings are replaced with correspondent “{lex:LocText”:
DemoStep3.png

And new resource strings are added in the resource file:
DemoStep4.png

Last edited Sep 14, 2010 at 7:27 PM by skiba_k, version 2

Comments

No comments yet.