Class
TelerikLocalizationManager

Represents a class that manages application string resources.

Definition

Namespace:Telerik.Maui

Assembly:Telerik.Maui.Core.dll

Syntax:

cs-api-definition
public class TelerikLocalizationManager : ILocalizationManager

Inheritance: objectTelerikLocalizationManager

Implements: ILocalizationManager

Constructors

TelerikLocalizationManager()

Initializes a new instance of the TelerikLocalizationManager class.

Declaration

cs-api-definition
public TelerikLocalizationManager()

Properties

DefaultResourceManager

Default resource manager to follow if the specific one is null. This is an easy way to override the resource manager without instantiating a new manager.

Declaration

cs-api-definition
public static ResourceManager DefaultResourceManager { get; }

Property Value

ResourceManager

Manager

Gets or sets the current localization manager instance.

Declaration

cs-api-definition
public static ILocalizationManager Manager { get; set; }

Property Value

ILocalizationManager

ResourceManager

Gets or sets specific resource manager.

Declaration

cs-api-definition
public ResourceManager ResourceManager { get; set; }

Property Value

ResourceManager

Implements ILocalizationManager.ResourceManager

Methods

GetString(string)

Returns a string related to the specified key and culture.

Declaration

cs-api-definition
public virtual string GetString(string key)

Parameters

key

string

The key.

Returns

string

A value relative to the specified key.

Implements ILocalizationManager.GetString(string)