|
EasySave v3.0
|
Default implementation of ILocalizationProvider using strongly-typed access to ResX resources embedded in the GUI assembly. More...
Public Member Functions | |
| LocalizationProvider () | |
| Initializes a new instance of the LocalizationProvider class. | |
| string | GetString (string key) |
| Gets a localized string for the given key using the current culture. | |
| string | GetString (string key, params object[] args) |
| Gets a formatted localized string for the given key. | |
| void | SetCulture (string cultureCode) |
Sets the UI culture (e.g. "fr", "en"). | |
| Array | GetLanguages () |
| Gets the list of available languages supported by the provider. | |
Events | |
| EventHandler? | CultureChanged |
| Events inherited from EasySave.Gui.Services.ILocalizationProvider | |
| EventHandler? | CultureChanged |
| Raised when the culture changes so that bindings can refresh. | |
Default implementation of ILocalizationProvider using strongly-typed access to ResX resources embedded in the GUI assembly.
| Array EasySave.Gui.Services.LocalizationProvider.GetLanguages | ( | ) |
Gets the list of available languages supported by the provider.
Implements EasySave.Gui.Services.ILocalizationProvider.
| string EasySave.Gui.Services.LocalizationProvider.GetString | ( | string | key | ) |
Gets a localized string for the given key using the current culture.
Implements EasySave.Gui.Services.ILocalizationProvider.
| string EasySave.Gui.Services.LocalizationProvider.GetString | ( | string | key, |
| params object[] | args ) |
Gets a formatted localized string for the given key.
Implements EasySave.Gui.Services.ILocalizationProvider.
| void EasySave.Gui.Services.LocalizationProvider.SetCulture | ( | string | cultureCode | ) |
Sets the UI culture (e.g. "fr", "en").
| cultureCode | Culture code to apply. |
Implements EasySave.Gui.Services.ILocalizationProvider.