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.

Definition

Namespace:Telerik.Maui

Assembly:Telerik.Maui.Core.dll

Syntax:

cs-api-definition
public interface ILocalize

Methods

GetCurrentCultureInfo()

This method must evaluate platform-specific locale settings and convert them (when necessary) to a valid .NET locale.

Declaration

cs-api-definition
CultureInfo GetCurrentCultureInfo()

Returns

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

cs-api-definition
void SetLocale(CultureInfo cultureInfo)

Parameters

cultureInfo

CultureInfo