Click or drag to resize
LocalizationService Class
Localization service including the database operations
Inheritance Hierarchy

Namespace: CMS.Localization
Assembly: CMS.Globalization (in CMS.Globalization.dll) Version: 12.0.0
Syntax
C#
public class LocalizationService : FileLocalizationService

The LocalizationService type exposes the following members.

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