Table of Contents

Namespace RentADeveloper.ResXLocalization

Classes

CultureChangedEventArgs

Provides the previous and current culture for a CultureChanged notification, raised after CurrentCulture changes.

Localizer

The default ILocalizer implementation: an ambient, process-wide localizer that resolves strings from registered ResourceManager instances and notifies bindings when the culture changes. Access the shared instance through Current.

TranslationNotFoundEventArgs

Provides the details of a lookup that no resource file could satisfy, raised through TranslationNotFound. Subscribe to log missing translations during development. Normal .NET parent/neutral resource fallback runs first, so this event means the key was unresolved across the complete fallback chain; the lookup itself still returns the missing-translation sentinel (see MissingTranslationFormat).

Structs

ResourceKey

A typed, file-scoped resource key that pairs a key name with the ResourceManager that owns it. The bundled source generator emits one static ResourceKey per string entry in each eligible neutral .resx file, giving compile-time-validated keys with editor auto-completion.

Interfaces

ILocalizer

Resolves localized strings from one or more ResourceManager instances for a runtime-selectable culture, and raises change notifications so bindings update live when the culture changes - without reloading views.