ILocalizer Members
Provides access to methods and events that retrieve localized strings in a .NET MAUI application.Methods
| Name | Description |
|---|---|
| NotifyCultureChanged() | Notifies the application that the current culture (locale) changed. This method triggers CultureChanged and CultureChangedWeakEvent events to update all affected UI elements. |
| TryGetString(String, out String) | Returns the localization string value by its key. |
Events
| Name | Description |
|---|---|
| CultureChanged | Occurs when the NotifyCultureChanged() method is called. |
| CultureChangedWeakEvent | A weak event that occurs when the NotifyCultureChanged() method is called. |
See Also