Class LocalizerExtensions
- Namespace
- WindowSill.API
- Assembly
- WindowSill.API.dll
Provides a set of helper methods for localized strings.
public static class LocalizerExtensions
- Inheritance
-
LocalizerExtensions
- Inherited Members
Methods
GetLocalizedString(string)
Retrieves the localized string corresponding to the specified unique identifier (UID).
public static string GetLocalizedString(this string uid)
Parameters
uidstringThe unique identifier for the string to be localized. This value cannot be null or empty.
Returns
- string
The localized string associated with the specified UID. If no localization is found, returns the UID itself.
Remarks
Usage example:
"/AssemblyName/ReswFileName_WithoutExtension/ResourceName".GetLocalizedString()