Table of Contents

Interface IAdminBuildersLocalizationService

Namespace
Kentico.Builder.Web.Mvc
Assembly
Kentico.Content.Web.Mvc.dll

Encapsulates retrieving of localizable strings for administration UI components.

public interface IAdminBuildersLocalizationService
Extension Methods

Methods

GetCultureCode()

Gets the culture code of a culture used to localize the resource strings in administration UI.

string GetCultureCode()

Returns

string

GetDefaultCultureCode()

Gets the default culture code to be used as fallback for localization in administration UI.

string GetDefaultCultureCode()

Returns

string

GetString(string)

Gets the string by the specified resource key.

string GetString(string resourceKey)

Parameters

resourceKey string

Resource key

Returns

string

Remarks

Culture of administration UI is used to retrieve the translation.

LocalizeString(string)

Replaces "{\(stringname\)}" expressions in given text with localized strings.

string LocalizeString(string inputText)

Parameters

inputText string

Input text with localizable expressions.

Returns

string

Remarks

Culture of administration UI is used to retrieve the translation.