Releases: rent-a-developer/ResXLocalization
Releases · rent-a-developer/ResXLocalization
Release list
ResXLocalization v1.1.0
Added
- Dynamic composite-format arguments for
{l:Localize}in both UI packages: bind the new
LocalizeArgs.Arg0…Arg8attached properties on the target element to supplyString.Format
arguments for the resolved resource value (e.g.{0} people invited). The rendered text
re-formats live when a bound argument or the culture changes; elements without arguments resolve
exactly as before.
ResXLocalization v1.0.0
Added
- Initial release of
ResXLocalization.AvaloniaandResXLocalization.WPF(targeting .NET 8 LTS
and .NET 10), both depending on the shared Core package and carrying the Roslyn source generator
plus MSBuild wiring:- Live, no-reload language switching via
Localizer.Current.CurrentCulture; theCultureChanged
event carries aCultureChangedEventArgsreporting the previous and new culture. - Typed, compile-checked keys generated for string entries in eligible neutral
.resxfiles with
sibling classic designers ({l:Localize {x:Static …Keys.…}}). - Search-all, scoped, and typed lookup modes over any number of registered resource files, with
UnregisterResourceManager/ClearResourceManagersfor dynamic scenarios. - Enum localization by convention (
{l:LocalizeEnum},LocalizeEnumConverter). - Format-argument overloads:
Get(key, args…)formats the resolved value in the current culture. - Miss diagnostics: the
TranslationNotFoundevent and the configurable
MissingTranslationFormatsentinel (default!key!). - Available-culture discovery for language pickers:
GetAvailableCultures(). - Native AOT / trimming support for the Avalonia package and the shared engine.
- Live, no-reload language switching via