Interface ILocalize
Implementations of this interface must convert platform-specific locales to a value supported in .NET because only valid .NET cultures can have their RESX resources loaded and used.
Namespace: Telerik.Maui
Assembly: Telerik.Maui.Core.dll
Syntax
public interface ILocalize
Methods
GetCurrentCultureInfo()
This method must evaluate platform-specific locale settings and convert them (when necessary) to a valid .NET locale.
Declaration
CultureInfo GetCurrentCultureInfo()
Returns
System.Globalization.CultureInfo
|
SetLocale(CultureInfo)
CurrentCulture and CurrentUICulture must be set in the platform project, because the Thread object can't be accessed in a PCL.
Declaration
void SetLocale(CultureInfo cultureInfo)
Parameters
System.Globalization.CultureInfo
cultureInfo
|