Click or drag to resize
FileLocalizationService Class
Default localization service
Inheritance Hierarchy
SystemObject
  CMS.LocalizationFileLocalizationService
    CMS.LocalizationLocalizationService

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

The FileLocalizationService type exposes the following members.

Constructors
  NameDescription
Public methodFileLocalizationService
Top
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)
Returns specified string.
Public methodGetFileString(String, String, String, Boolean)
Returns specified string from the resource files.
Public methodGetString
Returns specified string.
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