Click or drag to resize
ILocalizationService Interface
Localization service interface

Namespace: CMS.Core
Assembly: CMS.Core (in CMS.Core.dll) Version: 12.0.0
Syntax
C#
public interface ILocalizationService

The ILocalizationService type exposes the following members.

Methods
  NameDescription
Public methodClearCache
Clears the cached resource strings and forces them to load again on next localization request.
Public methodGetAPIString
Returns specified string.
Public methodGetFileString(String, String, Boolean)
Gets the string by the specified resource key from resource file
Public methodGetFileString(String, String, String, Boolean)
Returns specified string from the resource files.
Public methodGetString
Gets the string by the specified resource key
Public methodLocalizeExpression
Localizes the given expression, handles two types of expressions: stringkey - Simple localization =default string|cs-cz=localized string - advanced localization
Public methodLocalizeFileString
Replaces "{$stringname$}" expressions in given text with localized strings.
Public methodLocalizeString
Replaces "{$stringname$}" expressions in given text with localized strings using given culture.
Top
See Also