Skip to content

ResXLocalization v1.0.0

Choose a tag to compare

@github-actions github-actions released this 13 Jul 04:44
· 25 commits to main since this release

Added

  • Initial release of ResXLocalization.Avalonia and ResXLocalization.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; the CultureChanged
      event carries a CultureChangedEventArgs reporting the previous and new culture.
    • Typed, compile-checked keys generated for string entries in eligible neutral .resx files 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 / ClearResourceManagers for 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 TranslationNotFound event and the configurable
      MissingTranslationFormat sentinel (default !key!).
    • Available-culture discovery for language pickers: GetAvailableCultures().
    • Native AOT / trimming support for the Avalonia package and the shared engine.