v20090516 ResolveLocalizedValue

Rating:        Based on 1 rating
Reviewed:  1 review
Downloads: 1315
Released: May 16, 2009
Updated: Jan 18, 2012 by SeriousM
Dev status: Stable Help Icon

Recommended Download

Source Code WPFLocalizeExtension Solution (.zip)
source code, 20K, uploaded May 16, 2009 - 890 downloads

Other Available Downloads

Application LocalizeExtension.dll (.zip with .xml)
application, 18K, uploaded May 16, 2009 - 425 downloads

Release Notes

Demo Application can be found here

Changelog:

LocalizeExtension.cs:

  • Added the Method ResolveLocalizedValue that can be used to resolve an localized object with a created LocalizeExtension;
  • LocalizeExtension.cs: Added FormatOutput to the ResolveLocalizedValue method;

HOWTO:

This change allow you to get a value of unbound LocalizeExtensions.

Signature of the Methods:
bool ResolveLocalizedValue(out TValue resolvedValue)
bool ResolveLocalizedValue(out TValue resolvedValue, CultureInfo targetCulture)

Example:
string text; // the output value
bool success; // the resolve status
success = new LocTextLower("XamlLocalizationTest:ResTexts:resBack").ResolveLocalizedValue(out text);

If the resource identifier was not found, an exception will be raised.

Reviews for this release

     
Very impressive! Easy to use. The best thing is if you have old .NET localization process for resx, you can still use it for your new WPF application without any change.
by oliverzy on Jun 19, 2009 at 5:47 AM